set more 1

/*
File:	cepr_basic_occ.do
Date:	Nov 21, 2006
	Feb 15, 2008
	Feb 10, 2009
	Jan 4, 2010
	Feb 22, 2011
	Jan 6, 2012
	Oct 16, 2012
	Jan 7, 2013
	Dec 20, 2013
	Mar 12, 2015, CEPR ORG Version 2.0
	Apr  1, 2015, CEPR ORG Version 2.0.1
	March 1, 2016, CEPR ORG Version 2.1
	Oct 12, 2016, CEPR ORG Version 2.1.1
	Feb 9, 2017, CEPR ORG Version 2.2
	Apr 21, 2017, CEPR ORG Version 2.2.1
	Apr 10, 2018, CEPR ORG Version 2.3
	Mar 22, 2019, CEPR ORG Version 2.4
	Jul 24, 2019, CEPR ORG Version 2.4.1
	Feb 05, 2020, CEPR ORG Version 2.5
	
Desc:	Creates consistent occupational variables for CEPR consistent
	extract	of Basic CPS; occupational labels from NBER files:
	occ70.do; occ80_83_91.do; occ80_92_94.do; and occ80_95_00.do
*/

/* note: any pre-1994 data processing is not yet correct;
         use only to process data from 1994 forward
*/

/* Determine data year */
local year=year in 1

/* Two-digit occupation */

capture gen byte docc70=.
capture gen byte docc80=.
capture gen byte docc03=.

	/* 1979-82 */

if 1979<=`year' & `year'<=1982 {

#delimit ;
lab def docc70
0  "Never worked"                  
1  "Engineers"                     
2  "Physicians, dentists, and related practitioners"
3  "Health workers, except practitioners"
4  "Teachers, except college"      
5  "Engineering and science technicians"
6  "Other professional -- salaried"
7  "Other professional -- self-employed"
8  "Salaried -- Manufacturing"     
9  "Salaried -- Other industries"  
10 "Self-employed -- retail trade" 
11 "Self-employed -- other industries"
12 "Retail trade"                  
13 "Other"                         
14 "Bookkeepers"                   
15 "Office machine operators"      
16 "Stenographers, typists, and secretaries"
17 "Other clerical workers"        
18 "Carpenters"                    
19 "Other construction craftsmen"  
20 "Foremen (n.e.c)"               
21 "Machinists and job setters"    
22 "Metal craftsmen, except mechanics and job setters"
23 "Mechanics -- auto"             
24 "Mechanics, except auto"        
25 "All other craftsmen"           
26 "Mine workers"                  
27 "Motor vehicles and equipment"  
28 "Other durable goods"           
29 "Nondurable goods"              
30 "All other"                     
31 "Drivers and deliverymen"       
32 "All others"                    
33 "Construction"                  
34 "Manufacturing"                 
35 "All other"                     
36 "Private household workers"     
37 "Cleaning service"              
38 "Food service"                  
39 "Health service"                
40 "Personal service"              
41 "Protective service"            
42 "Farmers and farm managers"     
43 "Paid laborers and foremen"     
44 "Unpaid family laborers"        
;
#delimit cr
lab val docc70 docc70
}

	/* 1983-2002 */

if 1983<=`year' & `year'<=2002 {

	if `year'==1991 {replace docc80=addtocc}

	if `year'~=1991 {
	replace docc80=prdtocc1 
	replace docc80=. if docc80<1
	}
}

#delimit ;
lab def docc80
1  "Officials & administrators, pub. admin."
2  "Other executive, admin. & managerial"
3  "Management related occupations"
4  "Engineers"
5  "Mathematical and computer scientists"
6  "Natural Scientists"
7  "Health diagnosing occs."
8  "Health assessment and treatment occs."
9  "Teachers, college and university"
10 "Teachers, except college and university"
11 "Lawyers and judges"
12 "Other professional specialty occs."
13 "Health technologists and technicians"
14 "Engineering and science technicians"
15 "Technicians, exc. health,engin.&science"
16 "Supervisors and proprietors, sales occs"
17 "Sales reps, finance and business serv."
18 "Sales reps, commodities, exc. retail"
19 "Sales workers, retail & personal serv."
20 "Sales related occs"
21 "Supervisors, admin. support"
22 "Computer equipment operators"
23 "Secretaries, stenographers, and typists"
24 "Financial records processing"
25 "Mail and message distribution"
26 "Other admin support, inc. clerical"
27 "Private household service occs"
28 "Protective service"
29 "Food service"
30 "Health service"
31 "Cleaning and building service"
32 "Personal service"
33 "Mechanics and repairers"
34 "Construction trades"
35 "Other precision prod., craft, & repair"
36 "Machine opertrs and tenders,exc precis."
37 "Fabricators,assemblers,inspectors,samplers"
38 "Motor vehicle operators"
39 "Other transp. & material moving occs"
40 "Construction laborers"
41 "Freight, stock & materials handlers"
42 "Other handlers,equip.cleaners,helpers,laborers"
43 "Farm operators and managers"
44 "Farm workers and related occupations"
45 "Forestry and fishing occs"
46 "Armed forces"
;
#delimit cr
lab val docc80 docc80


	/* 2003-2020 */

if 2003<=`year' & `year'<=2020 {

replace docc03=prdtocc1
replace docc03=. if docc03<1
}

#delimit ;
lab def docc03
1  "Management occupations 0010-0430"
2  "Business and financial operations occupations 0500-0950"
3  "Computer and mathematical science occupations 1000-1240"
4  "Architecture and engineering occupations 1300-1560"
5  "Life, physical, and social science occupations 1600-1960"
6  "Community and social service occupations 2000-2060"
7  "Legal occupations 2100-2150"
8  "Education, training, and library occupations 2200-2550"
9  "Arts, design, entertainment, sports, and media occupations 2600-2960"
10 "Healthcare practitioner and technical occupations 3000-3540"
11 "Healthcare support occupations 3600-3650"
12 "Protective service occupations 3700-3950"
13 "Food preparation and serving related occupations 4000-4160"
14 "Building and grounds cleaning and maintenance occupations 4200-4250"
15 "Personal care and service occupations 4300-4650"
16 "Sales and related occupations 4700-4960"
17 "Office and administrative support occupations 5000-5930"
18 "Farming, fishing, and forestry occupations 6000-6130"
19 "Construction and extraction occupations 6200-6940"
20 "Installation, maintenance, and repair occupations 7000-7620"
21 "Production occupations 7700-8960"
22 "Transportation and material moving occupations 9000-9750"
23 "Armed Forces 9840"
;
#delimit cr
lab val docc03 docc03


lab var docc70 "2-digit occupation"
notes docc70: Based on 1970 SOC codes
notes docc70: Available 1979-1982 only
notes docc70: Not compatible with docc80, docc03
notes docc70: CPS: TK

lab var docc80 "2-digit occupation"
notes docc80: Based on 1980 SOC codes
notes docc80: Available 1983-2002 only
notes docc80: Not compatible with docc70, docc03
notes docc80: CPS: a-dtocc, prdtocc1

lab var docc03 "2-digit occupation"
notes docc03: Based on 2000 SOC codes
notes docc03: Available 2003- only
notes docc03: Not compatible with docc70, docc80
notes docc03: CPS: prdtocc1

/* Three-digit occupation */

capture gen occ70=.
capture gen occ80=.
capture gen occ03=.
capture gen occ11=.
capture gen occ12=.

	/* 1979-82 */

if 1979<=`year' & `year'<=1982 {

#delimit ;
lab def occ70
1   "Accountants"                   
2   "Architects"                    
3   "Computer programmers"          
4   "Computer systems analysts"     
5   "Computer specialists, n.e.c."  
6   "Aeronautical and astronautical engineers"
10  "Chemical engineers"            
11  "Civil engineers"               
12  "Electrical and electronic engineers"
13  "Industrial engineers"          
14  "Mechanical engineers"          
15  "Metallurgical and materials engineers"
20  "Mining engineers"              
21  "Petroleum engineers"           
22  "Sales engineers"               
23  "Engineers, n.e.c."             
24  "Farm management advisors"      
25  "Foresters and conservationists"
26  "Home management advisors"      
30  "Judges"                        
31  "Lawyers"                       
32  "Librarians"                    
33  "Archivists and curators"       
34  "Actuaries"                     
35  "Mathematicians"                
36  "Statisticians"                 
42  "Agricultural scientists"       
43  "Atmospheric and space scientists"
44  "Biological scientists"         
45  "Chemists"                      
51  "Geologists"                    
52  "Marine scientists"             
53  "Physicists and astronomers"    
54  "Life and physical scientists, n.e.c."
55  "Operations and systems researchers and analysts"
56  "Personnel and labor relations workers"
61  "Chiropractors"                 
62  "Dentists"                      
63  "Optometrists"                  
64  "Pharmacists"                   
65  "Physicians, medical and osteopathic"
71  "Podiatrists"                   
72  "Veterinarians"                 
73  "Health practitioners, n.e.c."  
74  "Dietitians"                    
75  "Registered nurses"             
76  "Therapists"                    
80  "Clinical laboratory, technologists and technicians"
81  "Dental hygienists"             
82  "Health record technologists and technicians"
83  "Radiologic technologists and technicians"
84  "Therapy assistants"            
85  "Health technologists and technicians, n.e.c."
86  "Clergyman"                     
90  "Religious workers, n.e.c."     
91  "Economists"                    
92  "Political scientists"          
93  "Psychologists"                 
94  "Sociologists"                  
95  "Urban and regional planners"   
96  "Social scientists, n.e.c."     
100 "Social workers"                
101 "Recreation workers"            
102 "Agriculture teachers"          
103 "Atmospheric, earth, marine, and space teachers"
104 "Biology teachers"              
105 "Chemistry teachers"            
110 "Physics teachers"              
111 "Engineering teachers"          
112 "Mathematics teachers"          
113 "Health specialties teachers"   
114 "Psychology teachers"           
115 "Business and commerce teachers"
116 "Economists"                    
120 "History teachers"              
121 "Sociology teachers"            
122 "Social science teachers, n.e.c."
123 "Art, drama, and music teachers"
124 "Coaches and physical education teachers"
125 "Education teachers"            
126 "English teachers"              
130 "Foreign language teachers"     
131 "Home economics teachers"       
132 "Law teachers"                  
133 "Theology teachers"             
134 "Trade, industrial and technical teachers"
135 "Miscellaneous teachers, college and university"
140 "Teachers, college and university, subject not specified"
141 "Adult education teachers"      
142 "Elementary school teachers"    
143 "Prekindergarten and kindergarten teachers"
144 "Secondary school teachers"     
145 "Teachers, except college and university, n.e.c."
150 "Agriculture and biological technicians, except health"
151 "Chemical technicians"          
152 "Draftsmen"                     
153 "Electrical and electronic engineering technicians"
154 "Industrial engineering technicians"
155 "Mechanical engineering technicians"
156 "Mathematical technicians"      
161 "Surveyors"                     
162 "Engineering and science technicians, n.e.c."
163 "Airplane pilots"               
164 "Air traffic controllers"       
165 "Embalmers"                     
170 "Flight engineers"              
171 "Radio operators"               
172 "Tool programmers, numerical control"
173 "Technicians, n.e.c."           
174 "Vocational and educational counselors"
175 "Actors"                        
180 "Athletes and kindred workers"  
181 "Authors"                       
182 "Dancers"                       
183 "Designers"                     
184 "Editors and reporters"         
185 "Musicians and composers"       
190 "Painters and sculptors"        
191 "Photographers"                 
192 "Public relations men and publicity writers"
193 "Radio and television announcers"
194 "Writers, artists, and entertainers, n.e.c."
195 "Research workers, not specified"
196 "Professional, technical, and kindred workers --allocated"
201 "Assessors, controllers, and treasurers;"
202 "Bank officers and financial managers"
203 "Buyers and shippers, farm products"
205 "Buyers, wholesale and retail trade"
210 "Credit men"                    
211 "Funeral directors"             
212 "Health administrators"         
213 "Construction inspectors, public administration"
215 "Inspectors, except construction; public administration"
216 "Managers and superintendents, building"
220 "Office managers, n.e.c."       
221 "Officers, pilots, and pursers; ship"
222 "Officials and administrators; public administration, n.e.c."
223 "Officials of lodges, societies, and unions"
224 "Postmasters and mail superintendents"
225 "Purchasing agents and buyers, n.e.c."
226 "Railroad conductors"           
230 "Restaurant, cafeteria, and bar managers"
231 "Sales managers and department heads, retail trade"
233 "Sales managers. except retail trade"
235 "School administrators, college"
240 "School administrators, elementary and secondary"
245 "Managers and administrators. n.e.c."
246 "Managers and administrators, except farm-- allocated"
260 "Advertising agents and salesmen"
261 "Auctioneers"                   
262 "Demonstrators"                 
264 "Hucksters and peddlers"        
265 "Insurance agents, brokers, and underwriters"
266 "Newsboys"                      
270 "Real estate agents and brokers"
271 "Stock and bond salesmen"       
280 "Salesmen and sales clerks. n.e.c."
281 "Sales representatives, manufacturing industries"
282 "Sales representatives, wholesale trade"
283 "Sales clerks, retail trade"    
284 "Salesmen, retail trade"        
285 "Salesmen of services and construction"
296 "Sales workers--allocated"      
301 "Bank tellers"                  
303 "Billing clerks"                
305 "Bookkeepers"                   
310 "Cashiers"                      
311 "Clerical assistants, social welfare"
312 "Clerical supervisors, n.e.c."  
313 "Collectors, bill and account"  
314 "Counter clerks, except food"   
315 "Dispatchers and starters, vehicle"
320 "Enumerators and interviewers"  
321 "Estimators and investigators, n.e.c."
323 "Expediters and production controllers"
325 "File clerks"                   
326 "Insurance adjusters, examiners, and investigators"
330 "Library attendants and assistants"
331 "Mail carriers,post office"     
332 "Mail handlers,except post office"
333 "Messengers andoffice boys"     
334 "Meter readers, utilities"      
341 "Bookkeepingand billing machine operators"
342 "Calculatingmachine operators"  
343 "Computer and peripheral equipment operators"
344 "Duplicating machine operators" 
345 "Key punch operators"           
350 "Tabulating machine operators"  
355 "Office machine operators, n.e.c."
360 "Payroll and timekeeping clerks"
361 "Postal clerks"                 
362 "Proofreaders"                  
363 "Real estate appraisers"        
364 "Receptionists"                 
370 "Secretaries, legal"            
371 "Secretaries, medical"          
372 "Secretaries, n.e.c."           
374 "Shipping and receiving clerks" 
375 "Statistical clerks"            
376 "Stenographers"                 
381 "Stock clerks and storekeepers" 
382 "Teacher aides, exc. school monitors"
383 "Telegraph messengers"          
384 "Telegraph operators"           
385 "Telephone operators"           
390 "Ticket, station, and express agents"
391 "Typists"                       
392 "Weighers"                      
394 "Miscellaneous clerical workers"
395 "Not specified clerical workers"
396 "Clerical and kindred workers -- allocated"
401 "Automobile accessories installers"
402 "Bakers"                        
403 "Blacksmiths"                   
404 "Boilermakers"                  
405 "Bookbinders"                   
410 "Brickmasons and stonemasons"   
411 "Brickmasons and stonemasons, apprentices"
412 "Bulldozer operators"           
413 "Cabinetmakers"                 
415 "Carpenters"                    
416 "Carpenter apprentices"         
420 "Carpet installers"             
421 "Cement and concrete finishers" 
422 "Compositors and typesetters"   
423 "Printing trades apprenticest exc. pressmen"
424 "Cranemen, derrickmen, and hoistmen"
425 "Decorators and window dressers"
426 "Dental laboratory technicians" 
430 "Electricians"                  
431 "Electrician apprentices"       
433 "Electric power linemen and cablemen"
434 "Electrotypers and stereotypers"
435 "Engravers, exc. photoengravers"
436 "Excavating, grading,and road machine operators; exc. bulldozer"
440 "Floor layers; exc. tile setters"
441 "Foremen, n.e.c."               
442 "Forgemen and hammermen"        
443 "Furniture and wood finishers"  
444 "Furriers"                      
445 "Glaziers"                      
446 "Heat treaters; annealers, and temperers"
450 "Inspectors; scalers# and graders; log and lumber"
452 "Inspectors, n.e.c."            
453 "Jewelers and watchmakers"      
454 "Job and die setters, metal"    
455 "Locomotive engineers"          
456 "Locomotive firemen"            
461 "Machinists"                    
462 "Machinist apprentices"         
470 "Air conditioning, heating, and refrigeration"
471 "Aircraft"                      
472 "Automobile body repairmen"     
473 "Automobile mechanics"          
474 "Automobile mechanic apprentices"
475 "Data processing machine repairmen"
480 "Farm implement"                
481 "Heavy equipment mechanics, incl. diesel"
482 "Household appliance and accessory installers and mechanics"
483 "Loom fixers"                   
484 "Office machine"                
485 "Radio and television"          
486 "Railroad and car shop"         
491 "Mechanic, exc. auto., apprentices"
492 "Miscellaneous mechanics and repairmen"
495 "Not specified mechanics and repairmen"
501 "Millers; grain, flour, and feed"
502 "Millwrights"                   
503 "Molders, metal"                
504 "Molder apprentices"            
505 "Motion picture projectionists" 
506 "Opticians, and lens grinders and polishers"
510 "Painters, construction and maintenance"
511 "Painter apprentices"           
512 "Paperhangers"                  
514 "Pattern and model makers, exc. paper"
515 "Photoengravers and lithographers"
516 "Piano and organ tuners and repairmen"
520 "Plasterers"                    
521 "Plasterer apprentices"         
522 "Plumbers and pipe fitters"     
523 "Plumber and pipe fitter apprentices"
525 "Power station operators"       
530 "Pressmen and plate printers, printing"
531 "Pressman apprentices"          
533 "Rollers and finishers, metal"  
534 "Roofers and slaters"           
535 "Sheetmetal workers and tinsmiths"
536 "Sheetmetal apprentices"        
540 "Shipfitters"                   
542 "Shoe repairmen"                
543 "Sign painters and letterers"   
545 "Stationary engineers"          
546 "Stone cutters and stone carvers"
550 "Structural metal craftsmen"    
551 "Tailors"                       
552 "Telephone installers and repairmen"
554 "Telephone linemen and splicers"
560 "Tile setters"                  
561 "Tool and die makers"           
562 "Tool and die maker apprentices"
563 "Upholsterers"                  
571 "Specified craft apprentices, n.e.c."
572 "Not specified apprentices"     
575 "Craftsmen and kindred workers, n.e.c."
580 "Former members of the Armed Forces"
586 "Craftsmen and kindred workers--allocated"
601 "Asbestos and insulation workers"
602 "Assemblers"                    
603 "Blasters and powdermen"        
604 "Bottling and canning operatives"
610 "Checkers, examiners, and inspectors, manufacturing"
611 "Clothing ironers and pressers" 
612 "Cutting operatives, n.e.c."    
613 "Dressmakers and seamstresses, except factory"
614 "Drillers, earth"               
615 "Dry wall installers and lathers"
620 "Dyers"                         
621 "Filers, polishers, sanders, and buffers"
622 "Furnacemen, smeltermen, and pourers"
623 "Garage workers and gas station attendants"
624 "Graders and sorters, manufacturing"
625 "Produce graders and packers, except factory and farm"
626 "Heaters, metal"                
630 "Laundry and dry cleaning operatives, n.e.c."
631 "Meat cutters and butchers, exc. manufacturing"
633 "Meat cutters and butchers, manufacturing"
634 "Meat wrappers,retail trade"    
635 "Metal platers"                 
636 "Milliners"                     
640 "Mine operatives, n.e.c."       
641 "Mixing operatives"             
642 "Oilers and greasers, exc. auto"
643 "Packers and wrappers, except meat and produce"
644 "Painters, manufactured articles"
645 "Photographic process workers"  
650 "Drill press operatives"        
651 "Grinding machine operatives"   
652 "Lathe and milling machine operatives"
653 "Precision machine operatives, n.e.c."
656 "Punch and stamping press operatives"
660 "Riveters and fasteners"        
661 "Sailors and deckhands"         
662 "Sawyers"                       
663 "Sewers and stitchers"          
664 "Shoemaking machine operatives" 
666 "Stationary firemen"            
670 "Carding, lapping; and combing operatives"
671 "Knitters, loopers, and toppers"
672 "Spinners, twisters, and winders"
673 "Weavers"                       
674 "Textile operatives, n.e.c."    
680 "Welders and flame-cutters"     
681 "Winding operatives, n.e.c."    
690 "Machine operatives, miscellaneous specified"
692 "Machine operatives, not specified"
694 "Miscellaneous operatives"      
695 "Not specified operatives"      
696 "Operatives, except transport--allocated"
701 "Boatmen and canalmen"          
703 "Busdrivers"                    
704 "Conductors and motormen, urban rail transit"
705 "Deliverymen and routemen"      
706 "Fork lift and tow motor operatives"
710 "Motormen; mine, factory, logging camp, etc."
711 "Parking attendants"            
712 "Railroad brakemen"             
713 "Railroad switchmen"            
714 "Taxicab drivers and chauffeurs"
715 "Truck drivers"                 
726 "Transport equipment operatives--allocated"
740 "Animal caretakers, exc. farm"  
750 "Carpenters' helpers"           
751 "Construction laborers, exc. carpenters' helpers"
752 "Fishermen and oystermen"       
753 "Freight and material handlers" 
754 "Garbage collectors"            
755 "Gardeners and groundskeepers, exc. farm"
760 "Longshoremen and stevedores"   
761 "Lumbermen, raftsmen, and woodchoppers"
762 "Stockhandlers"                 
763 "Teamsters"                     
764 "Vehicle washers and equipment cleaners"
770 "Warehousemen, n.e.c."          
780 "Miscellaneous laborers"        
785 "Not specified laborers"        
796 "Laborers, except farm--allocated"
801 "Farmers (owners and tenants)"  
802 "Farm managers"                 
806 "Farmers and farm managers--allocated"
821 "Farm foremen"                  
822 "Farm laborers, wage workers"   
823 "Farm laborers, unpaid family workers"
824 "Farm service laborers, self-employed"
846 "Farm laborers and farm foremen--allocated"
901 "Chambermaids and maids, except private household"
902 "Cleaners and charwomen"        
903 "Janitors and sextons"          
910 "Bartenders"                    
911 "Busboys"                       
912 "Cooks, except private household"
913 "Dishwashers"                   
914 "Food counter and fountain workers"
915 "Waiters"                       
916 "Food service workers, n.e.c., except private household"
921 "Dental assistants"             
922 "Health aides, exc. nursing"    
923 "Health trainees"               
924 "Lay midwives"                  
925 "Nursing aides, orderlies, and attendants"
926 "Practical nurses"              
931 "Airline stewardesses"          
932 "Attendants, recreation and amusement"
933 "Attendants, personal service, n.e.c."
934 "Baggage porters and bellhops"  
935 "Barbers"                       
940 "Boarding and lodginghouse keepers"
941 "Bootblacks"                    
942 "Child care workers, exc. private household"
943 "Elevator operators"            
944 "Hairdressers and cosmetologists"
945 "Personal service apprentices"  
950 "Housekeepers, exc. private household"
952 "School monitors"               
953 "Ushers, recreation and amusement"
954 "Welfare service aides"         
960 "Crossing guards and bridge tenders"
961 "Firemen, fire protection"      
962 "Guards and watchmen"           
963 "Marshals and constables"       
964 "Policemen and detectives"      
965 "Sheriffs and bailiffs"         
976 "Service workers, exc. private household--allocated"
980 "Child care workers, private household"
981 "Cooks, private household"      
982 "Housekeepers, private household"
983 "Laundresses, private household"
984 "Maids and servants, private household"
986 "Private household workers--allocated"
991 "Unemployed persons, last worked 1959 or earlier *"
995 "Occupation not reported **"
;
#delimit cr
lab val occ70 occ70
}

	/* 1983 - 1991 */
	
if 1983<=`year' & `year'<=1991 {

	if `year'==1991 {replace occ80=adocc}

#delimit ;
lab def occ1983
3   "Legislators (111)" 
4   "chief executives and general administrators, public administration (112)"
5   "administrators and officials, public administration (1132-1139)"
6   "administrators, protective services (1131)"
7   "financial managers (122)"      
8   "personnel and labor relations managers (123)"
9   "purchasing managers (124)"     
13  "managers, marketing, advertising, and public relations (125)"
14  "admin, education and rel. fields (128)"
15  "managers, medicine and health (131)"
16  "managers, properties and real estate (1353)"
17  "postmasters and mail superintendents (1344)"
18  "funeral directors (part 1359)" 
19  "managers and admin, n.e.c. (121, 126, 132-139, exc. 1344, 1353, pt 1359)"
23  "accountants and auditors (1412)"
24  "underwriters (1414)"           
25  "other financial officers (1415, 1419)"
26  "management analysts (142)"     
27  "personnel, training, and labor relations specialists (143)"
28  "purchasing agents and buyers, farm products (1443)"
29  "buyers, wholesale and retail trade except farm products (1442)"
33  "purch. agents and buyers, n.e.c. (1449)"
34  "business and promotion agents (145)"
35  "construction inspectors (1472)"
36  "inspectors and compliance officers, except construction (1473)"
37  "management rel. occupations, n.e.c. (149)"
43  "architects (161)"              
44  "aerospace engineers(1622)"     
45  "metallurgical and materials engineers (1623)"
46  "mining engineers (1624)"       
47  "petroleum engineers (1625)"    
48  "chemical engineers (1626)"     
49  "nuclear engineers (1627)"      
53  "civil engineers (1628)"        
54  "agricultural engineers (1632)" 
55  "Engineers, electrical and electronic (1633, 1636)"
56  "Engineers, industrial (1634)"  
57  "Engineers, mechanical (1635)"  
58  "marine and naval architects (1637)"
59  "engineers, n.e.c. (1639)"      
63  "surveyors and mapping scientists (164)"
64  "computer systems analysts and scientists (171)"
65  "operations and systems researchers and analysts (172)"
66  "Actuaries (1732)"              
67  "Statisticians (1733)"          
68  "Mathematical scientists, n.e.c. (1739)"
69  "Physicists and astronomers (1842, 1843)"
73  "Chemists, except biochemists (1845)"
74  "Atmospheric and space scientists (1846)"
75  "Geologists and geodesists (1847)"
76  "Physical scientists, n.e.c. (1849)"
77  "Agricultural and food scientists (1853)"
78  "Biological and life scientists (1854)"
79  "Forestry and conservation scientists (1852)"
83  "Medical scientists (1855)"     
84  "Physicians (261)"              
85  "Dentists (262)"                
86  "Veterinarians (27)"            
87  "Optometrists (281)"            
88  "Podiatrists (283)"             
89  "Health diagnosing practitioners, n.e.c. (289)"
95  "Registered nurses (29)"        
96  "Pharmacists (301)"             
97  "Dietitians (302)"              
98  "Inhalation therapists (3031)" 
99  "Occupational therapists (3032)"
103 "Physical therapists (3033)"    
104 "Speech therapists (3034)"      
105 "Therapists, n.e.c. (3039)"     
106 "Physicians' assistants (304)"  
113 "Earth, environmental, and marine science teachers (2212)"
114 "Biological science teachers (2213)"
115 "Chemistry teachers (2214)"     
116 "Physics teachers (2215)"       
117 "Natural science teachers, n.e.c. (2216)"
118 "Psychology teachers (2217)"    
119 "Economics teachers (2218)"     
123 "History teachers (2222)"       
124 "Political science teachers (2223)"
125 "Sociology teachers (2224)"     
126 "Social science teachers, n.e.c. (2225)"
127 "Engineering teachers (2226)"   
128 "Math. science teachers (2227)" 
129 "Computer science teachers (2228)"
133 "Medical science teachers (2231)"
134 "Health specialties teachers (2232)"
135 "Business, commerce, and marketing teachers (2233)"
136 "Agriculture and forestry teachers (2234)"
137 "Art, drama, and music teachers (2235)"
138 "Physical education teachers (2236)"
139 "Education teachers (2237)"     
143 "English teachers (2238)"       
144 "Foreign language teachers (2242)"
145 "Law teachers (2243)"           
146 "Social work teachers (2244)"   
147 "Theology teachers (2245)"      
148 "Trade and industrial teachers (2246)"
149 "Home economics teachers (2247)"
153 "Teachers, postsecondary, n.e.c. (2249)"
154 "Postsecondary teachers, subject not specified"
155 "Teachers, prekindergarten and kindergarten (231)"
156 "Teachers, elementary school (232)"
157 "Teachers, secondary school (233)"
158 "Teachers, special education (235)"
159 "Teachers, n.e.c. (236, 239)"   
163 "Counselors, Educational and Vocational (24)"
164 "Librarians (251)"              
165 "Archivists and curators (252)" 
166 "Economists (1912)"             
167 "Psychologists (1915)"          
168 "Sociologists (1916)"           
169 "Social scientists, n.e.c. (1913, 1914, 1919)"
173 "Urban planners (192)"          
174 "Social workers (2032)"         
175 "Recreation workers (2033)"     
176 "Clergy (2042)"                 
177 "Religious workers, n.e.c. (2049)"
178 "Lawyers and Judges"            
179 "Judges (212)"
183 "Authors (321)"                 
184 "Technical writers (398)"       
185 "Designers (322)"               
186 "Musicians and composers (323)" 
187 "Actors and directors (324)"    
188 "Painters, sculptors, craft-artists, and artist printmakers (325)"
189 "Photographers (326)"           
193 "Dancers (327)"                 
194 "Artists, performers, and rel. workers, n.e.c. (328,329)"
195 "Editors and reporters (331)"   
197 "Public relations specialists (332)"
198 "Announcers (333)"              
199 "Athletes (34)"                 
203 "Clinical laboratory technologists and technicians (362)"
204 "Dental hygienists (363)"       
205 "Health record technologists and technicians (364)"
206 "Radiologic technicians (365)"  
207 "Licensed practical nurses (366)"
208 "Health technologists and technicians, n.e.c. (369)"
213 "Electrical and electronic technicians (3711)"
214 "Industrial engineering technicians (3712)"
215 "Mechanical engineering technicians (3713)"
216 "Engineering technicians, n.e.c. (3719)"
217 "Drafting occupations (372)"    
218 "Surveying and mapping technicians (373)"
223 "Biological technicians (382)"  
224 "Chemical technicians (3831)"   
225 "Science technicians, n.e.c. (3832, 3833, 384, 389)"
226 "Airplane pilots and navigators (825)"
227 "Air traffic controllers (392)" 
228 "Broadcast equipment operators (393)"
229 "Computer programmers (3971, 3972)"
233 "Tool programmers, numerical control (3974)"
234 "Legal assistants (396)"        
235 "Technicians, n.e.c. (399)"     
243 "Supervisors and Proprietors, Sales Occupations (40)"
253 "Insurance sales occupations (4122)"
254 "Real estate sales occupations (4123)"
255 "Securities and financial services sales occupations (4124)"
256 "Advertising and rel. sales occupations (4153)"
257 "Sales occupations, other business services (4152)"
258 "Sales engineers (421)"         
259 "Sales representatives, mining, manufacturing, and wholesale (423, 424)"
263 "Sales workers, motor vehicles and boats (4342, 4344)"
264 "Sales workers, apparel (4346)" 
265 "Sales workers, shoes (4351)"   
266 "Sales workers, furniture and home furnishings (4348)"
267 "Sales workers, radio, Tv, hi-fi, and appliances (4343, 4352)"
268 "Sales workers, hardware and building supplies (4353)"
269 "Sales workers, parts (4367)"   
274 "Sales workers, other commodities (4345,4347,4354,4356,4359,4362,4369)"
275 "Sales counter clerks (4363)"   
276 "Cashiers (4364)"               
277 "Street and door-to-door sales workers (4366)"
278 "News vendors (4365)"           
283 "Demonstrators, promoters and models, sales (445)"
284 "Auctioneers (447)"             
285 "Sales support occupations, n.e.c. (444, 446, 449)"
303 "Supervisors, general office (4511, 4513, 4514, 4516, 4519, 4529)"
304 "Supervisors, computer equipment operators (4512)"
305 "Supervisors, financial records processing (4521)"
306 "Chief communications operators (4523)"
307 "Supervisors, distribution, scheduling, & adjusting clerks(4522,4524-4528)"
308 "Computer operators (4612)"     
309 "Peripheral equipment operators (4613)"
313 "Secretaries (4622)"            
314 "Stenographers (4623)"          
315 "Typists (4624)"                
316 "Interviewers (4642)"           
317 "Hotel clerks (4643)"           
318 "Transportation ticket and reservation agents (4644)"
319 "Receptionists (4645)"          
323 "Information clerks, n.e.c. (4649)"
325 "Classified-ad clerks (4662)"   
326 "Correspondence clerks (4663)"  
327 "Order clerks (4664)"           
328 "Personnel clerks, except payroll and timekeeping (4692)"
329 "Library clerks (4694)"         
335 "File clerks (4696)"            
336 "Records clerks (4699)"         
337 "Bookkeepers, accounting, and auditing clerks (4712)"
338 "Payroll and timekeeping clerks (4713)"
339 "Billing clerks (4715)"         
343 "Cost and rate clerks (4716)"   
344 "Billing, posting, and calculating machine operators (4718)"
345 "Duplicating machine operators (4722)"
346 "Mail preparing and paper handling machine operators (4723)"
347 "Office mach. operators, n.e.c. (4729)"
348 "Telephone operators (4732)"    
349 "Telegraphers (4733)"    
353 "Communications equipment operators, n.e.c. (4739)"
354 "Postal clerks, except mail carriers (4742)"
355 "Mail carriers, postal service (4743)"
356 "Mail clerks, except postal service (4744)"
357 "Messengers (4745)"             
359 "Dispatchers (4751)"            
363 "Production coordinators (4752)"
364 "Traffic, shipping, and receiving clerks (4753)"
365 "Stock and inventory clerks (4754)"
366 "Meter readers (4755)"          
368 "Weighers, measurers, and checkers (4756)"
369 "Samplers (4757)"
373 "Expediters (4758)"             
374 "Material recording, scheduling, and distributing clerks, n.e.c. (4759)"
375 "Insurance adjusters, examiners, and investigators (4782)"
376 "Investigators and adjusters, except insurance (4783)"
377 "Eligibility clerks, social welfare (4784)"
378 "Bill and account collectors (4786)"
379 "General office clerks (463)"   
383 "Bank tellers (4791)"           
384 "Proofreaders (4792)"           
385 "Data-entry keyers (4793)"      
386 "Statistical clerks (4794)"     
387 "Teachers' aides (4795)"        
389 "Administrative support occupations, n.e.c. (4787, 4799)"
403 "Launderers and ironers (503)"  
404 "Cooks, private household (504)"
405 "Housekeepers and butlers (505)"
406 "Child care workers, private hhld (506)"
407 "Private hhld cleaners and servants (502, 507, 509)"
413 "Supervisors, firefighting and fire prevention occupations(5111)"
414 "Supervisors, police and detectives (5112)"
415 "Supervisors, guards (5113)"    
416 "Fire inspection and fire prevention occupations (5122)"
417 "Firefighting occupations (5123)"
418 "Police and detectives, public service (5132)"
423 "Sheriffs, bailiffs, and other law enforcement officers(5134)"
424 "Correctional institution officers (5133)"
425 "Crossing guards (5142)"        
426 "Guards and police, except public service (5144)"
427 "Protective service occupations, n.e.c. (5149)"
433 "Supervisors, food preparation and service occupations(5211)"
434 "Bartenders (5212)"             
435 "Waiters and waitresses (5213)" 
436 "Cooks, except short order (5214)"            
437 "Short-order cooks (5215)"            
438 "Food counter, fountain and rel. occupations (5216)"
439 "Kitchen workers, food preparation (5217)"
443 "Waiters'/waitresses' assistants (5218)"
444 "Miscellaneous food preparation occupations (5219)"
445 "Dental assistants (5232)"      
446 "Health aides, except nursing (5233)"
447 "Nursing aides, orderlies, and attendants (5236)"
448 "Supervisors, cleaning and building service workers (5241)"
449 "Maids and housemen (5242, 5249)"
453 "Janitors and cleaners (5244)"  
454 "Elevator operators (5245)"     
455 "Pest control occupations (5246)"
456 "Supervisors, personal service occupations (5251)"
457 "Barbers (5252)"                
458 "Hairdressers and cosmetologists (5253)"
459 "Attendants, amusement and recreation facilities (5254)"
463 "Guides (5255)"                 
464 "Ushers (5256)"                 
465 "Public transportation attendants (5257)"
466 "Baggage porters and bellhops (5262)"
467 "Welfare service aides (5263)"  
468 "Child care workers, except private household (5264)"
469 "Personal service occupations, n.e.c. (5258, 5269)"
473 "Farmers, except horticultural (5512-5514)"
474 "Horticultural specialty farmers (5515)"
475 "Managers, farms, except horticultural (5522-5524)"
476 "Managers, horticultural specialty farms (5525)"
477 "Supervisors, farm workers (5611)"
479 "Farm workers (5612-5617)"      
483 "Marine life cultivation workers (5618)"
484 "Nursery workers (5619)"        
485 "Supervisors, rel. agricultural occupations (5621)"
486 "Groundskeepers and gardeners, except farm (5622)"
487 "Animal caretakers, except farm (5624)"
488 "Grader and sorter, agricultural products (5625)"
489 "Inspectors, agricultural products (5627)"
494 "Supervisors, forestry and logging workers (571)"
495 "Forestry workers, except logging (572)"
496 "Timber cutting and logging occupations (573, 579)"
497 "Captains and other officers, fishing vessels (part 8241)"
498 "Fishers (583)"                 
499 "Hunters and trappers (584)"    
503 "Supervisors, mechanics and repairers (60)"
505 "Automobile mechanics (part 6111)"
506 "Auto mechanic apprentices (part 6111)"
507 "Bus, truck, and stationary engine mechanics (6112)"
508 "Aircraft engine mechanics (6113)"
509 "Small engine repairers (6114)" 
514 "Automobile body and rel. repairers (6115)"
515 "Aircraft mechanics, except engine (6116)"
516 "Heavy equipment mechanics (6117)"
517 "Farm equipment mechanics (6118)"
518 "Industrial machinery repairers (613)"
519 "Machinery maintenance occupations (614)"
523 "Electronic repairers, comm and ind equipment (6151, 6153, 6155)"
525 "Data processing equipment repairers (6154)"
526 "Hhld appliance and power tool repairers (6156)"
527 "Telephone line installers and repairers (6157)"
529 "Telephone installers and repairers (6158)"
533 "Miscellaneous electrical and electronic equipment repairers (6152, 6159)"
534 "Heating, air conditioning, and refrigeration mechanics (616)"
535 "Camera, watch, and musical instrument repairers (6171, 6172)"
536 "Locksmiths and safe repairers (6173)"
538 "Office machine repairers (6174)"
539 "Mechanical controls and valve repairers (6175)"
543 "Elevator installers and repairers (6176)"
544 "Millwrights (6178)"            
547 "Specified mechanics and repairers, n.e.c. (6177, 6179)"
549 "Not specified mechanics and repairers"
553 "Supervisors, brickmasons, stonemasons, and tile setters (6312)"
554 "Supervisors, carpenters and rel. workers (6313)"
555 "Supervisors, electricians and power transmission installers (6314)"
556 "Supervisors, painters, paperhangers, and plasterers (6315)"
557 "Supervisors, plumbers, pipefitters, and steamfitters (6316)"
558 "Supervisors, construction, n.e.c. (6311, 6318)"
563 "Brickmasons and stonemasons (part 6412, part 6413)"
564 "Brickmason and stonemason apprentices (part 6412, part 6413)"
565 "Tile setters, hard and soft (part 6414, part 6462)"
566 "Carpet installers (part 6462)" 
567 "Carpenters (part 6422)"        
569 "Carpenter apprentices (part 6422)"
573 "Drywall installers (6424)"     
575 "Electricians (part 6432)"      
576 "Electrician apprentices (part 6432)"
577 "Electrical power installers and repairers (6433)"
579 "Painters, construction and maintenance (6442)"
583 "Paperhangers (6443)"           
584 "Plasterers (6444)"             
585 "Plumbers, pipefitters, and steamfitters (part 645)"
587 "Plumber, pipefitter, and steamfitter apprentices (part 645)"
588 "Concrete and terrazzo finishers (6463)"
589 "Glaziers (6464)"               
593 "Insulation workers (6465)"     
594 "Paving, surfacing, and tamping equipment operators (6466)"
595 "Roofers (6468)"                
596 "Sheetmetal duct installers (6472)"
597 "Structural metal workers (6473)"
598 "Drillers, earth (6474)"        
599 "Construction trades, n.e.c. (6467, 6475, 6476, 6479)"
613 "Supervisors, extractive occupations (632)"
614 "Drillers, oil well (652)"      
615 "Explosives workers (653)"      
616 "Mining machine operators (654)"
617 "Mining occupations, n.e.c. (656)"
633 "Supervisors, production occupations (67, 71)"
634 "Tool and die makers (part 6811)"
635 "Tool and die mkr apprentices (part 6811)"
636 "Precision assemblers, metal (6812)"
637 "Machinists (part 6813)"        
639 "Machinist apprentices (part 6813)"
643 "Boilermakers (6814)"           
644 "Precision grinders, filers, and tool sharpeners (6816)"
645 "Patternmakers and model makers, metal (6817)"
646 "Lay-out workers (6821)"        
647 "Precious stones and metals workers (Jewelers) (6822, 6866)"
649 "Engravers, metal (6823)"       
653 "Sheet metal workers (part 6824)"
654 "Sheet metal wrkr apprentices (part 6824)"
655 "Misc precision metal workers (6829)"
656 "Patternmkrs and model makers, wood (6831)"
657 "Cabinet makers and bench carpenters (6832)"
658 "Furniture and wood finishers (6835)"
659 "Misc precision woodworkers (6839)"
666 "Dressmakers (part 6852, part 7752)"
667 "Tailors (part 6852)"           
668 "Upholsterers (6853)"           
669 "Shoe repairers (6854)"         
673 "Apparel and fabric patternmakers (6856)"         
674 "Misc precision apparel and fabric workers (6856, 6859, part 7752)"
675 "Hand molders and shapers, except jewelers (6861)"
676 "Patternmakers, lay-out workers, and cutters (6862)"
677 "Optical goods workers (6864, part 7477, part 7677)"
678 "Dental laboratory and medical appliance technicians (6865)"
679 "Bookbinders (6844)"            
683 "Electrical/electronic equipment assemblers (6867)"
684 "Msc precision workers, n.e.c. (6869)"
686 "Butchers and meat cutters (6871)"
687 "Bakers (6872)"                 
688 "Food batchmakers (6873, 6879)" 
689 "Inspectors, testers, and graders (6881, 828)"
693 "Adjusters and calibrators (6882)"
694 "Water and sewage treatment plant operators (691)"
695 "Power plant operators (part 693)"
696 "Stationary engineers (part 693, 7668)"
699 "Miscellaneous plant and system operators (692, 694, 695, 696)"
703 "Set-up operators, lathe and turning machine (7312)"
704 "Operators, lathe and turning machine (7512)"
705 "Milling and planing machine operators (7313, 7513)"
706 "Punching and stamping press machine operators (7314, 7317, 7514, 7517)"
707 "Rolling machine operators (7316, 7516)"
708 "Drilling and boring machine operators (7318, 7518)"
709 "Grinding,abrading,buffing,&polishing machine operators (7322, 7324, 7522)"
713 "Forging machine operators (7319, 7519)"
714 "Numerical control machine operators (7326)"
715 "Misc metal,plastic,stone,&glass working machine operators (7329, 7529)"
717 "Fabricating machine operators, n.e.c. (7339, 7539)"
719 "Molding and casting machine operators (7315, 7342, 7515, 7524)"
723 "Metal plating machine operators (7343, 7543)"
724 "Heat treating equipment operators (7344, 7544)"
725 "Misc metal and plastic processing machine operators (7349, 7549)"
726 "Wood lathe, routing,&planing machine operators (7431, 7432, 7631, 7632)"
727 "Sawing machine operators (7433, 7633)"
728 "Shaping and joining machine operators (7435, 7635)"
729 "Nailing and tacking machine operators (7636)"
733 "Miscellaneous woodworking machine operators (7434, 7439, 7634, 7639)"
734 "Printing machine operators (7443, 7643)"
735 "Photoengravers and lithographers (6842, 7444, 7644)"
736 "Typesetters and compositors machine (6841, 7642)"
737 "Miscellaneous printing machine operators (6849, 7449, 7649"
738 "Winding and twisting machine operators (7451, 7651)"
739 "Knitting, looping, taping, and weaving machine operators (7452, 7652)"
743 "Textile cutting machine operators (7654)"
744 "Textile sewing machine operators (7655)"
745 "Shoe machine operators (7656)" 
747 "Pressing machine operators (7657)"
748 "Laundering and dry cleaning machine operators (6855, 7658)"
749 "Miscellaneous textile machine operators (7459, 7659)"
753 "Cementing and gluing machine operators (7661)"
754 "Packaging and filling machine operators (7462, 7662)"
755 "Extruding and forming machine operators (7463, 7663)"
756 "Mixing and blending machine operators (7664)"
757 "Separating,filtering, and clarifying machine operators (7476, 7666, 7676)"
758 "Compressing and compacting machine operators (7467, 7667)"
759 "Painting and paint spraying machine operators (7669)"
763 "Roasting and baking machine operators, food (7472, 7672)"
764 "Washing, cleaning, and pickling machine operators (7673)"
765 "Folding machine operators (7474, 7674)"
766 "Furnace, kiln, and oven operators, except food (7675)"
768 "Crushing and grinding machine operators (part 7477, part 7677)"
769 "Slicing and cutting machine operators (7478, 7678)"
773 "Motion picture projectionists (part 7479)"
774 "Photographic process machine operators (6863, 6868, 7671)"
777 "Miscellaneous machine operators, n.e.c. (part 7479, 7665, 7679)"
779 "Machine operators, not specified"
783 "Welders and cutters (7332, 7532, 7714)"
784 "Solderers and brazers (7333, 7533, 7717)"
785 "Assemblers (772, 774)"         
786 "Hand cutting and trimming occupations (7753)"
787 "Hand molding, casting, and forming occupations (7754, 7755)"
789 "Hand painting, coating, and decorating occupations (7756)"
793 "Hand engraving and printing occupations (7757)"
794 "Hand engraving and polishing occupations (7758)"
795 "Miscellaneous hand working occupations (7759)"
796 "Production inspectors, checkers, and examiners (782, 787)"
797 "Production testers (783)"      
798 "Production samplers and weighers (784)"
799 "Graders and sorters, except agricultural (785)"
803 "Supervisors, motor vehicle operators (8111)"
804 "Truck drivers, heavy (8212, 8213)"     
805 "Truck drivers, light (8214)"     
806 "Driver-sales workers (8218)"   
808 "Bus drivers (8215)"            
809 "Taxicab drivers and chauffeurs (8216)"
813 "Parking lot attendants (874)"  
814 "Motor transportation occupations, n.e.c. (8219)"
823 "Railroad conductors and yardmasters (8113)"
824 "Locomotive operating occupations (8232)"
825 "Railroad brake, signal, and switch operators (8233)"
826 "Rail vehicle operators, n.e.c. (8239)"
828 "Ship captains and mates, except fishing boats (part 8241, 8242)"
829 "Sailors and deckhands (8243)"  
833 "Marine engineers (8244)"       
834 "Bridge, lock, and lighthouse tenders (8245)"
843 "Supervisors, material moving equipment operators (812)"
844 "Operating engineers (8312)"    
845 "Longshore equipment operators (8313)"
848 "Hoist and winch operators (8314)"
849 "Crane and tower operators (8315)"
853 "Excavating and loading machine operators (8316)"
855 "Grader, dozer, and scraper operators (8317)"
856 "Industrial truck and tractor equipment operators (8318)"
859 "Misc material moving equipment operators (8319)"
863 "Supervisors, handlers, equipment cleaners, and laborers, n.e.c. (85)"
864 "Helpers, mechanics, and repairers (863)"
865 "Helpers, construction trades (8641-8645, 8648)"
866 "Helpers, surveyor (8646)"      
867 "Helpers, extractive occupations (865)"
869 "Construction laborers (871)"   
873 "Production helpers (861, 862)" 
875 "Garbage collectors (8722)"     
876 "Stevedores (8723)"             
877 "Stock handlers and baggers (8724)"
878 "Machine feeders and offbearers (8725)"
883 "Freight, stock, and material handlers, n.e.c. (8726)"
885 "Garage and service station rel. occupations (873)"
887 "Vehicle washers and equipment cleaners (875)"
888 "Hand packers and packagers (8761)"
889 "Laborers, except construction (8769)"
905 "Labor force status is unemployed and last job was Armed Forces"
;
#delimit cr
lab val occ80 occ1983
}

	/* 1992 - 2002 */
	
if 1992<=`year' & `year'<=2002 {

capture rename ptio1ocd peio1ocd
replace occ80=peio1ocd
replace occ80=. if occ80<0

#delimit ;
lab def occ80
3   "Legislators (111)"             
4   "Chief executives and general administrators, public administration (112)"
5   "Administrators and officials, public administration (1132-1139)"
6   "Administrators, protective services (1131)"
7   "Financial managers (122)"      
8   "Personnel and labor relations managers (123)"
9   "Purchasing managers (124)"     
13  "Managers, marketing, advertising, and public relations (125)"
14  "Administrators, education and related fields (128)"
15  "Managers, medicine and health (131)"
16  "Postmasters and mail superintendents (1344)"
17  "Managers, food serving and lodging establishments (1351)"
18  "Managers, properties and real estate (1353)"
19  "Funeral directors (part 1359)" 
21  "Managers, service organizations, n.e.c. (127, 1352, 1354, part 1359)"
22  "Managers and administrators, n.e.c. (121, 126, 132-1343, 136-139)"
23  "Accountants and auditors (1412)"
24  "Underwriters (1414)"           
25  "Other financial officers (1415, 1419)"
26  "Management analysts (142)"     
27  "Personnel, training, and labor relations specialists (143)"
28  "Purchasing agents and buyers, farm products (1443)"
29  "Buyers, wholesale and retail trade except farm products (1442)"
33  "Purchasing agents and buyers, n.e.c. (1449)"
34  "Business and promotion agents (145)"
35  "Construction inspectors (1472)"
36  "Inspectors and compliance officers, except construction (1473)"
37  "Management related occupations, n.e.c. (149)"
43  "Architects (161)"              
44  "Aerospace (1622)"              
45  "Metallurgical and materials (1623)"
46  "Mining (1624)"                 
47  "Petroleum (1625)"              
48  "Chemical (1626)"               
49  "Nuclear (1627)"                
53  "Civil (1628)"                  
54  "Agricultural (1632)"           
55  "Electrical and electronic (1633, 1636)"
56  "Industrial (1634)"             
57  "Mechanical (1635)"             
58  "Marine and naval architects (1637)"
59  "Engineers, n.e.c. (1639)"      
63  "Surveyors and mapping scientists (164)"
64  "Computer systems analysts and scientists (171)"
65  "Operations and systems researchers and analysts (172)"
66  "Actuaries (1732)"              
67  "Statisticians (1733)"          
68  "Mathematical scientists, n.e.c. (1739)"
69  "Physicists and astronomers (1842, 1843)"
73  "Chemists, except biochemists (1845)"
74  "Atmospheric and space scientists (1846)"
75  "Geologists and geodesists (1847)"
76  "Physical scientists, n.e.c. (1849)"
77  "Agricultural and food scientists (1853)"
78  "Biological and life scientists (1854)"
79  "Forestry and conservation scientists (1852)"
83  "Medical scientists (1855)"     
84  "Physicians (261)"              
85  "Dentists (262)"                
86  "Veterinarians (27)"            
87  "Optometrists (281)"            
88  "Podiatrists (283)"             
89  "Health diagnosing practitioners, n.e.c. (289)"
95  "Registered nurses (29)"        
96  "Pharmacists (301)"             
97  "Dietitians (302)"              
98  "Respiratory therapists (3031)" 
99  "Occupational therapists (3032)"
103 "Physical therapists (3033)"    
104 "Speech therapists (3034)"      
105 "Therapists, n.e.c. (3039)"     
106 "Physicians' assistants (304)"  
113 "Earth, environmental, and marine science teachers (2212)"
114 "Biological science teachers (2213)"
115 "Chemistry teachers (2214)"     
116 "Physics teachers (2215)"       
117 "Natural science teachers, n.e.c. (2216)"
118 "Psychology teachers (2217)"    
119 "Economics teachers (2218)"     
123 "History teachers (2222)"       
124 "Political science teachers (2223)"
125 "Sociology teachers (2224)"     
126 "Social science teachers, n.e.c. (2225)"
127 "Engineering teachers (2226)"   
128 "Mathematical science teachers (2227)"
129 "Computer science teachers (2228)"
133 "Medical science teachers (2231)"
134 "Health specialties teachers (2232)"
135 "Business, commerce, and marketing teachers (2233)"
136 "Agriculture and forestry teachers (2234)"
137 "Art, drama, and music teachers (2235)"
138 "Physical education teachers (2236)"
139 "Education teachers (2237)"     
143 "English teachers (2238)"       
144 "Foreign language teachers (2242)"
145 "Law teachers (2243)"           
146 "Social work teachers (2244)"   
147 "Theology teachers (2245)"      
148 "Trade and industrial teachers (2246)"
149 "Home economics teachers (2247)"
153 "Teachers, postsecondary, n.e.c. (2249)"
154 "Postsecondary teachers, subject not specified"
155 "Teachers, prekindergarten and kindergarten (231)"
156 "Teachers, elementary school (232)"
157 "Teachers, secondary school (233)"
158 "Teachers, special education (235)"
159 "Teachers, n.e.c. (236, 239)"   
163 "Counselors, Educational and Vocational (24)"
164 "Librarians (251)"              
165 "Archivists and curators (252)" 
166 "Economists (1912)"             
167 "Psychologists (1915)"          
168 "Sociologists (1916)"           
169 "Social scientists, n.e.c. (1913, 1914, 1919)"
173 "Urban planners (192)"          
174 "Social workers (2032)"         
175 "Recreation workers (2033)"     
176 "Clergy (2042)"                 
177 "Religious workers, n.e.c. (2049)"
178 "Lawyers (211)"                 
179 "Judges (212)"                  
183 "Authors (321)"                 
184 "Technical writers (398)"       
185 "Designers (322)"               
186 "Musicians and composers (323)" 
187 "Actors and directors (324)"    
188 "Painters, sculptors, craft-artists, and artist printmakers (325)"
189 "Photographers (326)"           
193 "Dancers (327)"                 
194 "Artists, performers, and related workers, n.e.c. (328, 329)"
195 "Editors and reporters (331)"   
197 "Public relations specialists (332)"
198 "Announcers (333)"              
199 "Athletes (34)"                 
203 "Clinical laboratory technologists and technicians (362)"
204 "Dental hygienists (363)"       
205 "Health record technologists and technicians (364)"
206 "Radiologic technicians (365)"  
207 "Licensed practical nurses (366)"
208 "Health technologists and technicians, n.e.c. (369)"
213 "Electrical and electronic technicians (3711)"
214 "Industrial engineering technicians (3712)"
215 "Mechanical engineering technicians (3713)"
216 "Engineering technicians, n.e.c. (3719)"
217 "Drafting occupations (372)"    
218 "Surveying and mapping technicians (373)"
223 "Biological technicians (382)"  
224 "Chemical technicians (3831)"   
225 "Science technicians, n.e.c. (3832, 3833, 384, 389)"
226 "Airplane pilots and navigators (825)"
227 "Air traffic controllers (392)" 
228 "Broadcast equipment operators (393)"
229 "Computer programmers (3971, 3972)"
233 "Tool programmers, numerical control (3974)"
234 "Legal assistants (396)"        
235 "Technicians, n.e.c. (399)"     
243 "Supervisors and Proprietors, Sales Occupations (40)"
253 "Insurance sales occupations (4122)"
254 "Real estate sales occupations (4123)"
255 "Securities and financial services sales occupations (4124)"
256 "Advertising and related sales occupations (4153)"
257 "Sales occupations, other business services (4152)"
258 "Sales engineers (421)"         
259 "Sales representatives, mining, manufacturing, and wholesale (423, 424)"
263 "Sales workers, motor vehicles and boats (4342, 4344)"
264 "Sales workers, apparel (4346)" 
265 "Sales workers, shoes (4351)"   
266 "Sales workers, furniture and home furnishings (4348)"
267 "Sales workers, radio, TV, hi-fi, and appliances (4343, 4352)"
268 "Sales workers, hardware and building supplies (4353)"
269 "Sales workers, parts (4367)"   
274 "Sales workers,other commodities (4345,4347,4354, 4356, 4359, 4362, 4369)"
275 "Sales counter clerks (4363)"   
276 "Cashiers (4364)"               
277 "Street and door-to-door sales workers (4366)"
278 "News vendors (4365)"           
283 "Demonstrators, promoters and models, sales (445)"
284 "Auctioneers (447)"             
285 "Sales support occupations, n.e.c. (444, 446, 449)"
303 "Supervisors, general office (4511, 4513, 4514, 4516, 4519, 4529)"
304 "Supervisors, computer equipment operators (4512)"
305 "Supervisors, financial records processing (4521)"
306 "Chief communications operators (4523)"
307 "Supervisors,distribution,scheduling,and adjusting clerks (4522,4524-4528)"
308 "Computer operators (4612)"     
309 "Peripheral equipment operators (4613)"
313 "Secretaries (4622)"            
314 "Stenographers (4623)"          
315 "Typists (4624)"                
316 "Interviewers (4642)"           
317 "Hotel clerks (4643)"           
318 "Transportation ticket and reservation agents (4644)"
319 "Receptionists (4645)"          
323 "Information clerks, n.e.c. (4649)"
325 "Classified-ad clerks (4662)"   
326 "Correspondence clerks (4663)"  
327 "Order clerks (4664)"           
328 "Personnel clerks, except payroll and timekeeping (4692)"
329 "Library clerks (4694)"         
335 "File clerks (4696)"            
336 "Records clerks (4699)"         
337 "Bookkeepers, accounting, and auditing clerks (4712)"
338 "Payroll and timekeeping clerks (4713)"
339 "Billing clerks (4715)"         
343 "Cost and rate clerks (4716)"   
344 "Billing, posting, and calculating machine operators (4718)"
345 "Duplicating machine operators (4722)"
346 "Mail preparing and paper handling machine operators (4723)"
347 "Office machine operators, n.e.c. (4729)"
348 "Telephone operators (4732)"    
353 "Communications equipment operators, n.e.c. (4733, 4739)"
354 "Postal clerks, except mail carriers (4742)"
355 "Mail carriers, postal service (4743)"
356 "Mail clerks, except postal service (4744)"
357 "Messengers (4745)"             
359 "Dispatchers (4751)"            
363 "Production coordinators (4752)"
364 "Traffic, shipping, and receiving clerks (4753)"
365 "Stock and inventory clerks (4754)"
366 "Meter readers (4755)"          
368 "Weighers, measurers, checkers, and samplers (4756, 4757)   "
373 "Expediters (4758)"             
374 "Material recording, scheduling, and distributing clerks, n.e.c. (4759)"
375 "Insurance adjusters, examiners, and investigators (4782)"
376 "Investigators and adjusters, except insurance (4783)"
377 "Eligibility clerks, social welfare (4784)"
378 "Bill and account collectors (4786)"
379 "General office clerks (463)"   
383 "Bank tellers (4791)"           
384 "Proofreaders (4792)"           
385 "Data-entry keyers (4793)"      
386 "Statistical clerks (4794)"     
387 "Teachers' aides (4795)"        
389 "Administrative support occupations, n.e.c. (4787, 4799)"
403 "Launderers and ironers (503)"  
404 "Cooks, private household (504)"
405 "Housekeepers and butlers (505)"
406 "Child care workers, private household (506)"
407 "Private household cleaners and servants (502, 507, 509)"
413 "Supervisors, firefighting and fire prevention occupations (5111)"
414 "Supervisors, police and detectives (5112)"
415 "Supervisors, guards (5113)"    
416 "Fire inspection and fire prevention occupations (5122)"
417 "Firefighting occupations (5123)"
418 "Police and detectives, public service (5132)"
423 "Sheriffs, bailiffs, and other law enforcement officers (5134)"
424 "Correctional institution officers (5133)"
425 "Crossing guards (5142)"        
426 "Guards and police, except public service (5144)"
427 "Protective service occupations, n.e.c. (5149)"
433 "Supervisors, food preparation and service occupations (5211)"
434 "Bartenders (5212)"             
435 "Waiters and waitresses (5213)" 
436 "Cooks (5214, 5215)"            
438 "Food counter, fountain and related occupations (5216)"
439 "Kitchen workers, food preparation (5217)"
443 "Waiters'/waitresses' assistants (5218)"
444 "Miscellaneous food preparation occupations (5219)"
445 "Dental assistants (5232)"      
446 "Health aides, except nursing (5233)"
447 "Nursing aides, orderlies, and attendants (5236)"
448 "Supervisors, cleaning and building service workers (5241) "
449 "Maids and housemen (5242, 5249)"
453 "Janitors and cleaners (5244)"  
454 "Elevator operators (5245)"     
455 "Pest control occupations (5246)"
456 "Supervisors, personal service occupations (5251)"
457 "Barbers (5252)"                
458 "Hairdressers and cosmetologists (5253)"
459 "Attendants, amusement and recreation facilities (5254)"
461 "Guides (5255)"                 
462 "Ushers (5256)"                 
463 "Public transportation attendants (5257)"
464 "Baggage porters and bellhops (5262)"
465 "Welfare service aides (5263)"  
466 "Family child care providers (part 5264)"
467 "Early childhood teacher's assistants (part 5264)"
468 "Child care workers, n.e.c. (part 5264)"
469 "Personal service occupations, n.e.c. (5258, 5269)"
473 "Farmers, except horticultural (5512-5514)"
474 "Horticultural specialty farmers (5515)"
475 "Managers, farms, except horticultural (5522-5524)"
476 "Managers, horticultural specialty farms (5525)"
477 "Supervisors, farm workers (5611)"
479 "Farm workers (5612-5617)"      
483 "Marine life cultivation workers (5618)"
484 "Nursery workers (5619)"        
485 "Supervisors, related agricultural occupations (5621)"
486 "Groundskeepers and gardeners, except farm (5622)"
487 "Animal caretakers, except farm (5624)"
488 "Graders and sorters, agricultural products (5625)"
489 "Inspectors, agricultural products (5627)"
494 "Supervisors, forestry and logging workers (571)"
495 "Forestry workers, except logging (572)"
496 "Timber cutting and logging occupations (573, 579)"
497 "Captains and other officers, fishing vessels (part 8241)"
498 "Fishers (583)"                 
499 "Hunters and trappers (584)"    
503 "Supervisors, mechanics and repairers (60)"
505 "Automobile mechanics (part 6111)"
506 "Automobile mechanic apprentices (part 6111)"
507 "Bus, truck, and stationary engine mechanics (6112)"
508 "Aircraft engine mechanics (6113)"
509 "Small engine repairers (6114)" 
514 "Automobile body and related repairers (6115)"
515 "Aircraft mechanics, except engine (6116)"
516 "Heavy equipment mechanics (6117)"
517 "Farm equipment mechanics (6118)"
518 "Industrial machinery repairers (613)"
519 "Machinery maintenance occupations (614)"
523 "Electronic repairers, comm and ind equipment (6151, 6153, 6155)"
525 "Data processing equipment repairers (6154)"
526 "Household appliance and power tool repairers (6156)"
527 "Telephone line installers and repairers (6157)"
529 "Telephone installers and repairers (6158)"
533 "Miscellaneous electrical and electronic equipment repairers (6152, 6159)"
534 "Heating, air conditioning, and refrigeration mechanics (616)"
535 "Camera, watch, and musical instrument repairers (6171, 6172)"
536 "Locksmiths and safe repairers (6173)"
538 "Office machine repairers (6174)"
539 "Mechanical controls and valve repairers (6175)"
543 "Elevator installers and repairers (6176)"
544 "Millwrights (6178)"            
547 "Specified mechanics and repairers, n.e.c. (6177, 6179)"
549 "Not specified mechanics and repairers"
553 "Supervisors, brickmasons, stonemasons, and tile setters (6312)"
554 "Supervisors, carpenters and related workers (6313)"
555 "Supervisors, electricians and power transmission installers (6314)"
556 "Supervisors, painters, paperhangers, and plasterers (6315)"
557 "Supervisors, plumbers, pipefitters, and steamfitters (6316)"
558 "Supervisors, construction, n.e.c. (6311, 6318)"
563 "Brickmasons and stonemasons (part 6412, part 6413)"
564 "Brickmason and stonemason apprentices (part 6412, part 6413)"
565 "Tile setters, hard and soft (part 6414, part 6462)"
566 "Carpet installers (part 6462)" 
567 "Carpenters (part 6422)"        
569 "Carpenter apprentices (part 6422)"
573 "Drywall installers (6424)"     
575 "Electricians (part 6432)"      
576 "Electrician apprentices (part 6432)"
577 "Electrical power installers and repairers (6433)"
579 "Painters, construction and maintenance (6442)"
583 "Paperhangers (6443)"           
584 "Plasterers (6444)"             
585 "Plumbers, pipefitters, and steamfitters (part 645)"
587 "Plumber, pipefitter, and steamfitter apprentices (part 645)"
588 "Concrete and terrazzo finishers (6463)"
589 "Glaziers (6464)"               
593 "Insulation workers (6465)"     
594 "Paving, surfacing, and tamping equipment operators (6466)"
595 "Roofers (6468)"                
596 "Sheetmetal duct installers (6472)"
597 "Structural metal workers (6473)"
598 "Drillers, earth (6474)"        
599 "Construction trades, n.e.c. (6467, 6475, 6476, 6479)"
613 "Supervisors, extractive occupations (632)"
614 "Drillers, oil well (652)"      
615 "Explosives workers (653)"      
616 "Mining machine operators (654)"
617 "Mining occupations, n.e.c. (656)"
628 "Supervisors, production occupations (67, 71)"
634 "Tool and die makers (part 6811)"
635 "Tool and die maker apprentices (part 6811)"
636 "Precision assemblers, metal (6812)"
637 "Machinists (part 6813)"        
639 "Machinist apprentices (part 6813)"
643 "Boilermakers (6814)"           
644 "Precision grinders, filers, and tool sharpeners (6816)"
645 "Patternmakers and model makers, metal (6817)"
646 "Lay-out workers (6821)"        
647 "Precious stones and metals workers (Jewelers) (6822, 6866)"
649 "Engravers, metal (6823)"       
653 "Sheet metal workers (part 6824)"
654 "Sheet metal worker apprentices (part 6824)"
655 "Miscellaneous precision metal workers (6829)"
656 "Patternmakers and model makers, wood (6831)"
657 "Cabinet makers and bench carpenters (6832)"
658 "Furniture and wood finishers (6835)"
659 "Miscellaneous precision woodworkers (6839)"
666 "Dressmakers (part 6852, part 7752)"
667 "Tailors (part 6852)"           
668 "Upholsterers (6853)"           
669 "Shoe repairers (6854)"         
674 "Misc precision apparel and fabric workers (6856, 6859, part 7752)"
675 "Hand molders and shapers, except jewelers (6861)"
676 "Patternmakers, lay-out workers, and cutters (6862)"
677 "Optical goods workers (6864, part 7477, part 7677)"
678 "Dental laboratory and medical appliance technicians (6865)"
679 "Bookbinders (6844)"            
683 "Electrical and electronic equipment assemblers (6867)"
684 "Miscellaneous precision workers, n.e.c. (6869)"
686 "Butchers and meat cutters (6871)"
687 "Bakers (6872)"                 
688 "Food batchmakers (6873, 6879)" 
689 "Inspectors, testers, and graders (6881, 828)"
693 "Adjusters and calibrators (6882)"
694 "Water and sewage treatment plant operators (691)"
695 "Power plant operators (part 693)"
696 "Stationary engineers (part 693, 7668)"
699 "Miscellaneous plant and system operators (692, 694, 695, 696)"
703 "Lathe and turning machine set-up operators (7312)"
704 "Lathe and turning machine operators (7512)"
705 "Milling and planing machine operators (7313, 7513)"
706 "Punching and stamping press machine operators (7314, 7317, 7514, 7517)"
707 "Rolling machine operators (7316, 7516)"
708 "Drilling and boring machine operators (7318, 7518)"
709 "Grinding,abrading,buffing,&polishing machine operators (7322, 7324, 7522)"
713 "Forging machine operators (7319, 7519)"
714 "Numerical control machine operators (7326)"
715 "Misc metal,plastic,stone,and glass working machine operators (7329,7529)"
717 "Fabricating machine operators, n.e.c. (7339, 7539)"
719 "Molding and casting machine operators (7315, 7342, 7515, 7542)"
723 "Metal plating machine operators (7343, 7543)"
724 "Heat treating equipment operators (7344, 7544)"
725 "Miscellaneous metal and plastic processing machine operators (7349, 7549)"
726 "Wood lathe,routing,and planing machine operators (7431, 7432, 7631, 7632)"
727 "Sawing machine operators (7433, 7633)"
728 "Shaping and joining machine operators (7435, 7635)"
729 "Nailing and tacking machine operators (7636)"
733 "Miscellaneous woodworking machine operators (7434, 7439, 7634, 7639)"
734 "Printing press operators (7443, 7643)"
735 "Photoengravers and lithographers (6842, 7444, 7644)"
736 "Typesetters and compositors (6841, 7642)"
737 "Miscellaneous printing machine operators (6849, 7449, 7649)"
738 "Winding and twisting machine operators (7451, 7651)"
739 "Knitting, looping, taping, and weaving machine operators (7452, 7652)"
743 "Textile cutting machine operators (7654)"
744 "Textile sewing machine operators (7655)"
745 "Shoe machine operators (7656)" 
747 "Pressing machine operators (7657)"
748 "Laundering and dry cleaning machine operators (6855, 7658)"
749 "Miscellaneous textile machine operators (7459, 7659)"
753 "Cementing and gluing machine operators (7661)"
754 "Packaging and filling machine operators (7462, 7662)"
755 "Extruding and forming machine operators (7463, 7663)"
756 "Mixing and blending machine operators (7664)"
757 "Separating,filtering,and clarifying machine operators (7476, 7666, 7676)"
758 "Compressing and compacting machine operators (7467, 7667)"
759 "Painting and paint spraying machine operators (7669)"
763 "Roasting and baking machine operators, food (7472, 7672)"
764 "Washing, cleaning, and pickling machine operators (7673)"
765 "Folding machine operators (7474, 7674)"
766 "Furnace, kiln, and oven operators, except food (7675)"
768 "Crushing and grinding machine operators (part 7477, part 7677)"
769 "Slicing and cutting machine operators (7478, 7678)"
773 "Motion picture projectionists (part 7479)"
774 "Photographic process machine operators (6863, 6868, 7671)"
777 "Miscellaneous machine operators, n.e.c. (part 7479, 7665, 7679)"
779 "Machine operators, not specified"
783 "Welders and cutters (7332, 7532, 7714)"
784 "Solderers and brazers (7333, 7533, 7717)"
785 "Assemblers (772, 774)"         
786 "Hand cutting and trimming occupations (7753)"
787 "Hand molding, casting, and forming occupations (7754, 7755)"
789 "Hand painting, coating, and decorating occupations (7756)"
793 "Hand engraving and printing occupations (7757)"
795 "Miscellaneous hand working occupations (7758, 7759)"
796 "Production inspectors, checkers, and examiners (782, 787)"
797 "Production testers (783)"      
798 "Production samplers and weighers (784)"
799 "Graders and sorters, except agricultural (785)"
803 "Supervisors, motor vehicle operators (8111)"
804 "Truck drivers (8212-8214)"     
806 "Driver-sales workers (8218)"   
808 "Bus drivers (8215)"            
809 "Taxicab drivers and chauffeurs (8216)"
813 "Parking lot attendants (874)"  
814 "Motor transportation occupations, n.e.c. (8219)"
823 "Railroad conductors and yardmasters (8113)"
824 "Locomotive operating occupations (8232)"
825 "Railroad brake, signal, and switch operators (8233)"
826 "Rail vehicle operators, n.e.c. (8239)"
828 "Ship captains and mates, except fishing boats (part 8241, 8242)"
829 "Sailors and deckhands (8243)"  
833 "Marine engineers (8244)"       
834 "Bridge, lock, and lighthouse tenders (8245)"
843 "Supervisors, material moving equipment operators (812)"
844 "Operating engineers (8312)"    
845 "Longshore equipment operators (8313)"
848 "Hoist and winch operators (8314)"
849 "Crane and tower operators (8315)"
853 "Excavating and loading machine operators (8316)"
855 "Grader, dozer, and scraper operators (8317)"
856 "Industrial truck and tractor equipment operators (8318)"
859 "Miscellaneous material moving equipment operators (8319)"
864 "Supervisors, handlers, equipment cleaners, and laborers, n.e.c. (85)"
865 "Helpers, mechanics, and repairers (863)"
866 "Helpers, construction trades (8641-8645, 8648)"
867 "Helpers, surveyor (8646)"      
868 "Helpers, extractive occupations (865)"
869 "Construction laborers (871)"   
874 "Production helpers (861, 862)" 
875 "Garbage collectors (8722)"     
876 "Stevedores (8723)"             
877 "Stock handlers and baggers (8724)"
878 "Machine feeders and offbearers (8725)"
883 "Freight, stock, and material handlers, n.e.c. (8726)"
885 "Garage and service station related occupations (873)"
887 "Vehicle washers and equipment cleaners (875)"
888 "Hand packers and packagers (8761)"
889 "Laborers, except construction (8769)"
905 "Labor force status is unemployed and whose last job was Armed Forces"
;
#delimit cr
lab val occ80 occ80
}

	/* 2003 - 2010 */
	
if 2003<=`year' & `year'<=2010 {

capture rename ptio1ocd peio1ocd
replace occ03=peio1ocd
replace occ03=. if occ03<=0
replace occ03=. if occ03==9970 | occ03==9990
}

#delimit ;
lab def occ03
0010 "Chief executives 11-1011"
0020 "General and operations managers 11-1021"
0040 "Advertising and promotions managers 11-2011"
0050 "Marketing and sales managers 11-2020"
0060 "Public relations managers 11-2031"
0100 "Administrative services managers 11-3011"
0110 "Computer and information systems managers 11-3021"
0120 "Financial managers 11-3031"
0130 "Human resources managers 11-3040"
0140 "Industrial production managers 11-3051"
0150 "Purchasing managers 11-3061"
0160 "Transportation, storage, and distribution managers 11-3071"
0200 "Farm, ranch, and other agricultural managers 11-9011"
0210 "Farmers and ranchers 11-9012"
0220 "Construction managers 11-9021"
0230 "Education administrators 11-9030"
0300 "Engineering managers 11-9041"
0310 "Food service managers 11-9051"
0320 "Funeral directors 11-9061"
0330 "Gaming managers 11-9071"
0340 "Lodging managers 11-9081"
0350 "Medical and health services managers 11-9111"
0360 "Natural sciences managers 11-9121"
0410 "Property, real estate, and community association managers 11-9141"
0420 "Social and community service managers 11-9151"
0430 "Managers, all other 11-9199"
0500 "Agents and business managers of artists, performers, athletes 13-1011"
0510 "Purchasing agents and buyers, farm products 13-1021"
0520 "Wholesale and retail buyers, except farm products 13-1022"
0530 "Purchasing agents, except wholesale, retail, and farm products 13-1023"
0540 "Claims adjusters, appraisers, examiners, and investigators 13-1030"
0560 "Compliance officers, exc. ag, const, health & safety, & transp 13-1041"
0600 "Cost estimators 13-1051"
0620 "Human resources, training, and labor relations specialists 13-1070"
0700 "Logisticians 13-1081"
0710 "Management analysts 13-1111"
0720 "Meeting and convention planners 13-1121"
0730 "Other business operations specialists 13-11XX"
0800 "Accountants and auditors 13-2011"
0810 "Appraisers and assessors of real estate 13-2021"
0820 "Budget analysts 13-2031"
0830 "Credit analysts 13-2041"
0840 "Financial analysts 13-2051"
0850 "Personal financial advisors 13-2052"
0860 "Insurance underwriters 13-2053"
0900 "Financial examiners 13-2061"
0910 "Loan counselors and officers 13-2070"
0930 "Tax examiners, collectors, and revenue agents 13-2081"
0940 "Tax prepares 13-2082"
0950 "Financial specialists, all other 13-2099"
1000 "Computer scientists and systems analysts 15-10XX"
1010 "Computer programmers 15-1021"
1020 "Computer software engineers 15-1030"
1040 "Computer support specialists 15-1041"
1060 "Database administrators 15-1061"
1100 "Network and computer systems administrators 15-1071"
1110 "Network systems and data communications analysts 15-1081"
1200 "Actuaries 15-2011"
1210 "Mathematicians 15-2021"
1220 "Operations research analysts 15-2031"
1230 "Statisticians 15-2041"
1240 "Miscellaneous mathematical science occupations 15-2090"
1300 "Architects, except naval 17-1010"
1310 "Surveyors, cartographers, and photogrammetrists 17-1020"
1320 "Aerospace engineers 17-2011"
1330 "Agricultural engineers 17-2021"
1340 "Biomedical engineers 17-2031"
1350 "Chemical engineers 17-2041"
1360 "Civil engineers 17-2051"
1400 "Computer hardware engineers 17-2061"
1410 "Electrical and electronic engineers 17-2070"
1420 "Environmental engineers 17-2081"
1430 "Industrial engineers, including health and safety 17-2110"
1440 "Marine engineers and naval architects 17-2121"
1450 "Materials engineers 17-2131"
1460 "Mechanical engineers 17-2141"
1500 "Mining & geological engineers, including mining safety engineers 17-2151"
1510 "Nuclear engineers 17-2161"
1520 "Petroleum engineers 17-2171"
1530 "Engineers, all other 17-2199"
1540 "Drafters 17-3010"
1550 "Engineering technicians, except drafters 17-3020"
1560 "Surveying and mapping technicians 17-3031"
1600 "Agricultural and food scientists 19-1010"
1610 "Biological scientists 19-1020"
1640 "Conservation scientists and foresters 19-1030"
1650 "Medical scientists 19-1040"
1700 "Astronomers and physicists 19-2010"
1710 "Atmospheric and space scientists 19-2021"
1720 "Chemists and materials scientists 19-2030"
1740 "Environmental scientists and geoscientists 19-2040"
1760 "Physical scientists, all other 19-2099"
1800 "Economists 19-3011"
1810 "Market and survey researchers 19-3020"
1820 "Psychologists 19-3030"
1830 "Sociologists 19-3041"
1840 "Urban and regional planners 19-3051"
1860 "Miscellaneous social scientists and related workers 19-3090"
1900 "Agricultural and food science technicians 19-4011"
1910 "Biological technicians 19-4021"
1920 "Chemical technicians 19-4031"
1930 "Geological and petroleum technicians 19-4041"
1940 "Nuclear technicians 19-4051"
1960 "Other life, physical, and social science technicians 19-40XX"
2000 "Counselors 21-1010"
2010 "Social workers 21-1020"
2020 "Miscellaneous community and social service specialists 21-1090"
2040 "Clergy 21-2011"
2050 "Directors, religious activities and education 21-2021"
2060 "Religious workers, all other 21-2099"
2100 "Lawyers, Judges, magistrates, and other judicial workers 23-1011"
2140 "Paralegals and legal assistants 23-2011"
2150 "Miscellaneous legal support workers 23-2090"
2200 "Postsecondary teachers 25-1000"
2300 "Preschool and kindergarten teachers 25-2010"
2310 "Elementary and middle school teachers 25-2020"
2320 "Secondary school teachers 25-2030"
2330 "Special education teachers 25-2040"
2340 "Other teachers and instructors 25-3000"
2400 "Archivists, curators, and museum technicians 25-4010"
2430 "Librarians 25-4021"
2440 "Library technicians 25-4031"
2540 "Teacher assistants 25-9041"
2550 "Other education, training, and library workers 25-90XX"
2600 "Artists and related workers 27-1010"
2630 "Designers 27-1020"
2700 "Actors 27-2011"
2710 "Producers and directors 27-2012"
2720 "Athletes, coaches, umpires, and related workers 27-2020"
2740 "Dancers and choreographers 27-2030"
2750 "Musicians, singers, and related workers 27-2040"
2760 "Entertainers & performers, sports & related workers, all other 27-2099"
2800 "Announcers 27-3010"
2810 "News analysts, reporters and correspondents 27-3020"
2820 "Public relations specialists 27-3031"
2830 "Editors 27-3041"
2840 "Technical writers 27-3042"
2850 "Writers and authors 27-3043"
2860 "Miscellaneous media and communication workers 27-3090"
2900 "Broadcast and sound engineering technicians and radio operators 27-4010"
2910 "Photographers 27-4021"
2920 "Television, video, & motion picture camera operators & editors 27-4030"
2960 "Media and communication equipment workers, all other 27-4099"
3000 "Chiropractors 29-1011"
3010 "Dentists 29-1020"
3030 "Dietitians and nutritionists 29-1031"
3040 "Optometrists 29-1041"
3050 "Pharmacists 29-1051"
3060 "Physicians and surgeons 29-1060"
3110 "Physician assistants 29-1071"
3120 "Podiatrists 29-1081"
3130 "Registered nurses 29-1111"
3140 "Audiologists 29-1121"
3150 "Occupational therapists 29-1122"
3160 "Physical therapists 29-1123"
3200 "Radiation therapists 29-1124"
3210 "Recreational therapists 29-1125"
3220 "Respiratory therapists 29-1126"
3230 "Speech-language pathologists 29-1127"
3240 "Therapists, all other 29-1129"
3250 "Veterinarians 29-1131"
3260 "Health diagnosing and treating practitioners, all other 29-1199"
3300 "Clinical laboratory technologists and technicians 29-2010"
3310 "Dental hygienists 29-2021"
3320 "Diagnostic related technologists and technicians 29-2030"
3400 "Emergency medical technicians and paramedics 29-2041"
3410 "Health diagnosing and treating practitioner support technicians 29-2050"
3500 "Licensed practical and licensed vocational nurses 29-2061"
3510 "Medical records and health information technicians 29-2071"
3520 "Opticians, dispensing 29-2081"
3530 "Miscellaneous health technologists and technicians 29-2090"
3540 "Other healthcare practitioners and technical occupations 29-9000"
3600 "Nursing, psychiatric, and home health aides 31-1010"
3610 "Occupational therapist assistants and aides 31-2010"
3620 "Physical therapist assistants and aides 31-2020"
3630 "Massage therapists 31-9011"
3640 "Dental assistants 31-9091"
3650 "Medical assistants and other healthcare support occupations 31-909X"
3700 "1st-line supervisors/managers of correctional officers 33-1011"
3710 "1st-line supervisors/managers of police and detectives 33-1012"
3720 "1st-line supervisors/managers fire fighting & prevention workers 33-1021"
3730 "Supervisors, protective service workers, all other 33-1099"
3740 "Fire fighters 33-2011"
3750 "Fire inspectors 33-2020"
3800 "Bailiffs, correctional officers, and jailers 33-3010"
3820 "Detectives and criminal investigators 33-3021"
3830 "Fish and game wardens 33-3031"
3840 "Parking enforcement workers 33-3041"
3850 "Police and sheriff's patrol officers 33-3051"
3860 "Transit and railroad police 33-3052"
3900 "Animal control workers 33-9011"
3910 "Private detectives and investigators 33-9021"
3920 "Security guards and gaming surveillance officers 33-9030"
3940 "Crossing guards 33-9091"
3950 "Lifeguards and other protective service workers 33-909X"
4000 "Chefs and head cooks 35-1011"
4010 "1st-line supervisors/managers food prep and serving workers 35-1012"
4020 "Cooks 35-2010"
4030 "Food preparation workers 35-2021"
4040 "Bartenders 35-3011"
4050 "Combined food prep and serving workers, including fast food 35-3021"
4060 "Counter attendants, cafeteria, food concession, and coffee shop 35-3022"
4110 "Waiters and waitresses 35-3031"
4120 "Food servers, nonrestaurant 35-3041"
4130 "Dining room and cafeteria attendants and bartender helpers 35-9011"
4140 "Dishwashers 35-9021"
4150 "Hosts and hostesses, restaurant, lounge, and coffee shop 35-9031"
4160 "Food preparation and serving related workers, all other 35-9099"
4200 "1st-line supervisors/managers housekeeping & janitorial workers 37-1011"
4210 "1st-line supervisors/managers landscape, lawn, grounds workers 37-1012"
4220 "Janitors and building cleaners 31-201X"
4230 "Maids and housekeeping cleaners 37-2012"
4240 "Pest control workers 37-2021"
4250 "Grounds maintenance workers 37-3010"
4300 "First-line supervisors/managers of gaming workers 39-1010"
4320 "First-line supervisors/managers of personal service workers 39-1021"
4340 "Animal trainers 39-2011"
4350 "Nonfarm animal caretakers 39-2021"
4400 "Gaming services workers 39-3010"
4410 "Motion picture projectionists 39-3021"
4420 "Ushers, lobby attendants, and ticket takers 39-3031"
4430 "Miscellaneous entertainment attendants and related workers 39-3090"
4460 "Funeral service workers 39-4000"
4500 "Barbers 39-5011"
4510 "Hairdressers, hairstylists, and cosmetologists 39-5012"
4520 "Miscellaneous personal appearance workers 39-5090"
4530 "Baggage porters, bellhops, and concierges 39-6010"
4540 "Tour and travel guides 39-6020"
4550 "Transportation attendants 39-6030"
4600 "Child care workers 39-9011"
4610 "Personal and home care aides 39-9021"
4620 "Recreation and fitness workers 39-9030"
4640 "Residential advisors 39-9041"
4650 "Personal care and service workers, all other 39-9099"
4700 "First-line supervisors/managers of retail sales workers 41-1011"
4710 "First-line supervisors/managers of non-retail sales workers 41-1012"
4720 "Cashiers 41-2010"
4740 "Counter and rental clerks 41-2021"
4750 "Parts salespersons 41-2022"
4760 "Retail salespersons 41-2031"
4800 "Advertising sales agents 41-3011"
4810 "Insurance sales agents 41-3021"
4820 "Securities, commodities, and financial services sales agents 41-3031"
4830 "Travel agents 41-3041"
4840 "Sales representatives, services, all other 41-3099"
4850 "Sales representatives, wholesale and manufacturing 41-4010"
4900 "Models, demonstrators, and product promoters 41-9010"
4920 "Real estate brokers and sales agents 41-9020"
4930 "Sales engineers 41-9031"
4940 "Telemarketers 41-9041"
4950 "Door-to-door sales, news & street vendors, & related workers 41-9091"
4960 "Sales and related workers, all other 41-9099"
5000 "1st-line supervisors/managers office & admin support workers 43-1011"
5010 "Switchboard operators, including answering service 43-2011"
5020 "Telephone operators 43-2021"
5030 "Communications equipment operators, all other 43-2099"
5100 "Bill and account collectors 43-3011"
5110 "Billing and posting clerks and machine operators 43-3021"
5120 "Bookkeeping, accounting, and auditing clerks 43-3031"
5130 "Gaming cage workers 43-3041"
5140 "Payroll and timekeeping clerks 43-3051"
5150 "Procurement clerks 43-3061"
5160 "Tellers 43-3071"
5200 "Brokerage clerks 43-4011"
5210 "Correspondence clerks 43-4021"
5220 "Court, municipal, and license clerks 43-4031"
5230 "Credit authorizers, checkers, and clerks 43-4041"
5240 "Customer service representatives 43-4051"
5250 "Eligibility interviewers, government programs 43-4061"
5260 "File Clerks 43-4071"
5300 "Hotel, motel, and resort desk clerks 43-4081"
5310 "Interviewers, except eligibility and loan 43-4111"
5320 "Library assistants, clerical 43-4121"
5330 "Loan interviewers and clerks 43-4131"
5340 "New accounts clerks 43-4141"
5350 "Order clerks 43-4151"
5360 "Human resources assistants, except payroll and timekeeping 43-4161"
5400 "Receptionists and information clerks 43-4171"
5410 "Reservation and transportation ticket agents and travel clerks 43-4181"
5420 "Information and record clerks, all other 43-4199"
5500 "Cargo and freight agents 43-5011"
5510 "Couriers and messengers 43-5021"
5520 "Dispatchers 43-5030"
5530 "Meter readers, utilities 43-5041"
5540 "Postal service clerks 43-5051"
5550 "Postal service mail carriers 43-5052"
5560 "Postal serv mail sorters, processors, & proc machine operators 43-5053"
5600 "Production, planning, and expediting clerks 43-5061"
5610 "Shipping, receiving, and traffic clerks 43-5071"
5620 "Stock clerks and order fillers 43-5081"
5630 "Weighers, measurers, checkers, and samplers, recordkeeping 43-5111"
5700 "Secretaries and administrative assistants 43-6010"
5800 "Computer operators 43-9011"
5810 "Data entry keyers 43-9021"
5820 "Word processors and typists 43-9022"
5830 "Desktop publishers 43-9031"
5840 "Insurance claims and policy processing clerks 43-9041"
5850 "Mail clerks and mail machine operators, except postal service 43-9051"
5860 "Office clerks, general 43-9061"
5900 "Office machine operators, except computer 43-9071"
5910 "Proofreaders and copy markers 43-9081"
5920 "Statistical assistants 43-9111"
5930 "Office and administrative support workers, all other 43-9199"
6000 "1st-line supervisors/managers farming, fishing, forestry workers 45-1010"
6010 "Agricultural inspectors 45-2011"
6020 "Animal breeders 45-2021"
6040 "Graders and sorters, agricultural products 45-2041"
6050 "Miscellaneous agricultural workers 45-2090"
6100 "Fishers and related fishing workers 45-3011"
6110 "Hunters and trappers 45-3021"
6120 "Forest and conservation workers 45-4011"
6130 "Logging workers 45-4020"
6200 "1st-line supervisors/managers construction & extraction workers 47-1011"
6210 "Boilermakers 47-2011"
6220 "Brickmasons, blockmasons, and stonemasons 47-2020"
6230 "Carpenters 47-2031"
6240 "Carpet, floor, and tile installers and finishers 47-2040"
6250 "Cement masons, concrete finishers, and terrazzo workers 47-2050"
6260 "Construction laborers 47-2061"
6300 "Paving, surfacing, and tamping equipment operators 47-2071"
6310 "Pile-driver operators 47-2072"
6320 "Operating engineers and other construction equipment operators 47-2073"
6330 "Drywall installers, ceiling tile installers, and tapers 47-2080"
6350 "Electricians 47-2111"
6360 "Glaziers 47-2121"
6400 "Insulation workers 47-2130"
6420 "Painters, construction and maintenance 47-2141"
6430 "Paperhangers 47-2142"
6440 "Pipelayers, plumbers, pipefitters, and steamfitters 47-2150"
6460 "Plasterers and stucco masons 47-2161"
6500 "Reinforcing iron and rebar workers 47-2171"
6510 "Roofers 47-2181"
6520 "Sheet metal workers 47-2211"
6530 "Structural iron and steel workers 47-2221"
6600 "Helpers, construction trades 47-3010"
6660 "Construction and building inspectors 47-4011"
6700 "Elevator installers and repairers 47-4021"
6710 "Fence erectors 47-4031"
6720 "Hazardous materials removal workers 47-4041"
6730 "Highway maintenance workers 47-4051"
6740 "Rail-track laying and maintenance equipment operators 47-4061"
6750 "Septic tank servicers and sewer pipe cleaners 47-4071"
6760 "Miscellaneous construction and related workers 47-4090"
6800 "Derrick, rotary drill, service unit operators, oil, gas, mining 47-5010"
6820 "Earth drillers, except oil and gas 47-5021"
6830 "Explosives workers, ordnance handling experts, and blasters 47-5031"
6840 "Mining machine operators 47-5040"
6910 "Roof bolters, mining 47-5061"
6920 "Roustabouts, oil and gas 47-5071"
6930 "Helpers--extraction workers 47-5081"
6940 "Other extraction workers 47-50XX"
7000 "1st-line supervisors/managers mechanics, installers, repairers 49-1011"
7010 "Computer, automated teller, and office machine repairers 49-2011"
7020 "Radio and telecommunications equipment installers and repairers 49-2020"
7030 "Avionics technicians 49-2091"
7040 "Electric motor, power tool, and related repairers 49-2092"
7050 "Electrical & electronics installers, repairers, transp equipment 49-2093"
7100 "Electrical and electronics repairers, industrial and utility 49-209X"
7110 "Electronic equipment installers and repairers, motor vehicles 49-2096"
7120 "Electronic home entertainment equipment installers and repairers 49-2097"
7130 "Security and fire alarm systems installers 49-2098"
7140 "Aircraft mechanics and service technicians 49-3011"
7150 "Automotive body and related repairers 49-3021"
7160 "Automotive glass installers and repairers 49-3022"
7200 "Automotive service technicians and mechanics 49-3023"
7210 "Bus and truck mechanics and diesel engine specialists 49-3031"
7220 "Heavy vehicle & mobile equipment service techs & mechanics 49-3040"
7240 "Small engine mechanics 49-3050"
7260 "Misc vehicle & mobile equipment mechanics, installers, repairers 49-3090"
7300 "Control and valve installers and repairers 49-9010"
7310 "Heating, air conditioning, refrigeration mechanics, installers 49-9021"
7320 "Home appliance repairers 49-9031"
7330 "Industrial and refractory machinery mechanics 49-904X"
7340 "Maintenance and repair workers, general 49-9042"
7350 "Maintenance workers, machinery 49-9043"
7360 "Millwrights 49-9044"
7410 "Electrical power-line installers and repairers 49-9051"
7420 "Telecommunications line installers and repairers 49-9052"
7430 "Precision instrument and equipment repairers 49-9060"
7510 "Coin, vending, and amusement machine servicers and repairers 49-9091"
7520 "Commercial divers 49-9092"
7540 "Locksmiths and safe repairers 49-9094"
7550 "Manufactured building and mobile home installers 49-9095"
7560 "Riggers 49-9096"
7600 "Signal and track switch repairers 49-9097"
7610 "Helpers--installation, maintenance, and repair workers 49-9098"
7620 "Other installation, maintenance, and repair workers 49-909X"
7700 "1st-line supervisors/managers of production & operating workers 51-1011"
7710 "Aircraft structure, surfaces, rigging, and systems assemblers 51-2011"
7720 "Electrical, electronics, and electromechanical assemblers 51-2020"
7730 "Engine and other machine assemblers 51-2031"
7740 "Structural metal fabricators and fitters 51-2041"
7750 "Miscellaneous assemblers and fabricators 51-2090"
7800 "Bakers 51-3011"
7810 "Butchers and other meat, poultry, and fish processing workers 51-3020"
7830 "Food, tobac roasting, baking, drying machine operators, tenders 51-3091"
7840 "Food batchmakers 51-3092"
7850 "Food cooking machine operators and tenders 51-3093"
7900 "Computer control programmers and operators 51-4010"
7920 "Extruding, drawing machine operators & tenders, metal, plastic 51-4021"
7930 "Forging machine setters, operators, tenders, metal and plastic 51-4022"
7940 "Rolling machine setters, operators, tenders, metal and plastic 51-4023"
7950 "Cutting, punching machine operators, tenders, metal, plastic 51-4031"
7960 "Drilling, boring machine tool operators, tenders, metal, plastic 51-4032"
8000 "Grinding, polishing, machine operators, tenders, metal & plastic 51-4033"
8010 "Lathe, turning machine operators, tenders, metal and plastic 51-4034"
8020 "Milling, planing machine operators, tenders, metal and plastic 51-4035"
8030 "Machinists 51-4041"
8040 "Metal furnace and kiln operators and tenders 51-4050"
8060 "Model makers and patternmakers, metal and plastic 51-4060"
8100 "Molders, molding machine operators, tenders, metal, plastic 51-4070"
8120 "Multiple machine operators, and tenders, metal and plastic 51-4081"
8130 "Tool and die makers 51-4111"
8140 "Welding, soldering, and brazing workers 51-4120"
8150 "Heat treating equipment operators,tenders, metal and plastic 51-4191"
8160 "Lay-out workers, metal and plastic 51-4192"
8200 "Plating, coating machine operators, tenders, metal and plastic 51-4193"
8210 "Tool grinders, filers, and sharpeners 51-4194"
8220 "Metalworkers and plastic workers, all other 51-4199"
8230 "Bookbinders and bindery workers 51-5010"
8240 "Job printers 51-5021"
8250 "Prepress technicians and workers 51-5022"
8260 "Printing machine operators 51-5023"
8300 "Laundry and dry-cleaning workers 51-6011"
8310 "Pressers, textile, garment, and related materials 51-6021"
8320 "Sewing machine operators 51-6031"
8330 "Shoe and leather workers and repairers 51-6041"
8340 "Shoe machine operators and tenders 51-6042"
8350 "Tailors, dressmakers, and sewers 51-6050"
8360 "Textile bleaching and dyeing machine operators and tenders 51-6061"
8400 "Textile cutting machine setters, operators, and tenders 51-6062"
8410 "Textile knitting & weaving machine setters, operators & tenders 51-6063"
8420 "Textile winding, twisting, drawing machine operators, tenders 51-6064"
8430 "Extruding, forming machine operators, tenders, synthetic, glass 51-6091"
8440 "Fabric and apparel patternmakers 51-6092"
8450 "Upholsterers 51-6093"
8460 "Textile, apparel, and furnishings workers, all other 51-6099"
8500 "Cabinetmakers and bench carpenters 51-7011"
8510 "Furniture finishers 51-7021"
8520 "Model makers and patternmakers, wood 51-7030"
8530 "Sawing machine setters, operators, and tenders, wood 51-7041"
8540 "Woodworking machine setters, operators, tenders, except sawing 51-7042"
8550 "Woodworkers, all other 51-7099"
8600 "Power plant operators, distributors, and dispatchers 51-8010"
8610 "Stationary engineers and boiler operators 51-8021"
8620 "Water and liquid waste treatment plant and system operators 51-8031"
8630 "Miscellaneous plant and system operators 51-8090"
8640 "Chemical processing machine setters, operators, and tenders 51-9010"
8650 "Crushing, grinding, polishing, mixing, and blending workers 51-9020"
8710 "Cutting workers 51-9030"
8720 "Extruding, pressing, compacting machine operators, and tenders 51-9041"
8730 "Furnace, kiln, oven, drier, and kettle operators and tenders 51-9051"
8740 "Inspectors, testers, sorters, samplers, and weighers 51-9061"
8750 "Jewelers and precious stone and metal workers 51-9071"
8760 "Medical, dental, and ophthalmic laboratory technicians 51-9080"
8800 "Packaging and filling machine operators and tenders 51-9111"
8810 "Painting workers 51-9120"
8830 "Photographic process workers and processing machine operators 51-9130"
8840 "Semiconductor processors 51-9141"
8850 "Cementing and gluing machine operators and tenders 51-9191"
8860 "Cleaning, washing, metal pickling equipment operators, tenders 51-9192"
8900 "Cooling and freezing equipment operators and tenders 51-9193"
8910 "Etchers and engravers 51-9194"
8920 "Molders, shapers, and casters, except metal and plastic 51-9195"
8930 "Paper goods machine setters, operators, and tenders 51-9196"
8940 "Tire builders 51-9197"
8950 "Helpers--production workers 51-9198"
8960 "Production workers, all other 51-9199"
9000 "Supervisors, transportation and material moving workers 53-1000"
9030 "Aircraft pilots and flight engineers 53-2010"
9040 "Air traffic controllers and airfield operations specialists 53-2020"
9110 "Ambulance drivers, attendants, exc. emergency medical techs 53-3011"
9120 "Bus drivers 53-3020"
9130 "Driver/sales workers and truck drivers 53-3030"
9140 "Taxi drivers and chauffeurs 53-3041"
9150 "Motor vehicle operators, all other 53-3099"
9200 "Locomotive engineers and operators 53-4010"
9230 "Railroad brake, signal, and switch operators 53-4021"
9240 "Railroad conductors and yardmasters 53-4031"
9260 "Subway, streetcar, and other rail transportation workers 53-30XX"
9300 "Sailors and marine oilers 53-5011"
9310 "Ship and boat captains and operators 53-5020"
9330 "Ship engineers 53-5031"
9340 "Bridge and lock tenders 53-6011"
9350 "Parking lot attendants 53-6021"
9360 "Service station attendants 53-6031"
9410 "Transportation inspectors 53-6051"
9420 "Other transportation workers 53-60XX"
9500 "Conveyor operators and tenders 53-7011"
9510 "Crane and tower operators 53-7021"
9520 "Dredge, excavating, and loading machine operators 53-7030"
9560 "Hoist and winch operators 53-7041"
9600 "Industrial truck and tractor operators 53-7051"
9610 "Cleaners of vehicles and equipment 53-7061"
9620 "Laborers and freight, stock, and material movers, hand 53-7062"
9630 "Machine feeders and offbearers 53-7063"
9640 "Packers and packagers, hand 53-7064"
9650 "Pumping station operators 53-7070"
9720 "Refuse and recyclable material collectors 53-7081"
9730 "Shuttle car operators 53-7111"
9740 "Tank car, truck, and ship loaders 53-7121"
9750 "Material moving workers, all other 53-7199"
9840 "Armed Forces"
9970 "Problem referral [recoded to missing]"
9990 "Not reported, not codable [recoded to missing]"
;
#delimit cr
lab val occ03 occ03


	/* 2011-April 2012 */

/* changes from 2003:
Added - 0030 - Legislators /* but, no observations in data */
Added - 0135 - Compensation and benefits managers
0130 moved to 0136 - Human resource managers
Added - 0137 - Training and development managers
0200, 0210 - moved to 0205 - Farmers, ranchers, and other agricultural managers
0320 moved to 0325 - Funeral service managers
Added - 0400 - Postmasters and mail superintendents /* but, no observations in data */
Added - 0425 - Emergency management directors
0560 moved to 0565 - Compliance officers
Removed - 0620 - Human resources, training, and labor relations specialists
Added - 0630 - Human resources workers
Added - 0640 - Compensation, benefits, and job analysis specialists
Added - 0650 - Training and development specialists
0720 moved to 0725 - Meeting, convention, and event planners
Added - 0726 - Fundraisers
0730 moed to 0740 - Business operations specialists, all other
Added - 0735 - Market research analysts and marketing specialists
Removed - 1000 - Computer scientists and systems analysts
Added - 1005 - Computer and information research scientists
Added - 1006 - Computer systems analysts
Added - 1007 - Information security analysts
Label changed - 1020 - Software developers, applications and systems software
Added 1030 - Web developers
1040 moved to 1050 - Computer support specialists
1100 moved to 1105 - Network and computer systems administrators
Removed - 1110 - Network systems and data communications analysts
Added - 1106 - Computer network architects
Added - 1107 - Computer occupations, all other
Added - 1660 - Life scientists, all other
1810 moved to 1815 - Survey researchers
Added - 1950 - Social science research assistants
1960 moved to 1965 - Misc. life, physical, and social science technicians
Added - 2015 - Probation officers and correctional treatment specialists
2020 moved to 2025 - Misc. community and scoail service specialists, including health educators and community health workers
Added - 2105 - Judicial law clerks
2140 moved to 2145 - Paralegals and legal assistants
2150 moved to 2160 - Misc. legal support workers
2820 moved to 2825 - Public relations specialists
3130 moved to 3255 - Registered nurses
Added - 3235 - Exercise physiologists
3240 moved to 3245 - Therapists, all other
Added - 3256 - Nurse anesthetists
Added - 3257 - Nurse midwives
Added - 3258 - Nurse practitioners
3410 moved to 3420 - Health practitioner support technologists and technicians
3530 - moved to 3535 - Misc. health technologists and technicians
Added - 3645 - Medical assistants
Added - 3646 - Medical transcriptionists
Added - 3647 - Pharmacy aides
Added - 3648 - Veterinary assistants and laboratory animal caretakers
Added - 3649 - Phlebotomists
3650 moved to 3655 - Misc. healthcare support occupations, including medical equipment preparers
3920 moved to 3930 - Security guards and gaming surveillance officers
Added - 3945 - Transportation security screeners
3950 moved to 3955 - Lifeguards and other recreational, and all other protective service workers
Label changed 4460 - Embalmers and funeral attendants
Added - 4465 - Morticians, undertakers, and funeral directors
4550 moved to 9415 - Transportation attendants, except flight attendants
4960 moved to 4965 - Sales and related workers, all other
Added - 5165 - Financial clerks, all other
5930 moved to 5940 - Office and aministrative support workers, all other
6000 moved to 6005 - First-line supervisors of farming, fishing, and forestry workers
6350 moved to 6355 - Electricians
6510 moved to 6515 - Roofers
6760 moved to 6765 - Misc. construction and related workers
7310 moved to 7315 - Heating, air conditioning, and refrigeration mechanics and installers
7620 moved to 7630 - Other installation, maintenance, and repair workers
Added - 7855 - Food processing workers, all other
Removed - 8230 - Bookbinders and bindery workers
Removed - 8240 - Job printers
8260 moved to 8255 - Printing press operators
Added - 8256 - Print binding and finishing workers
8960 moved to 8965 - Production workers, all other
Added - 9050 - Flight attendants
*/
	
if 2011==`year' {

capture rename ptio1ocd peio1ocd
replace occ11=peio1ocd
replace occ11=. if occ11<=0
replace occ11=. if occ11==9970 | occ11==9990
}

#delimit ;
lab def occ11
0010 "Chief executives 11-1011"
0020 "Gen and operations managers 11-1021"
0030 "Legislators 11-1031"
0040 "Advertising and promotions managers 11-2011"
0050 "Marketing and sales managers 11-2020"
0060 "Public relationsand fundraising managers 11-2031"
0100 "Administrative services managers 11-3011"
0110 "Computer and information systems managers 11-3021"
0120 "Financial managers 11-3031"
0135 "Compensation and benefits managers 11-3111"
0136 "Human resources managers 11-3121"
0137 "Training and development managers 11-3131"
0140 "Industrial production managers 11-3051"
0150 "Purchasing managers 11-3061"
0160 "Transportation, storage, and distribution managers 11-3071"
0205 "Farmers, ranchers, and other agricultural managers 11-9013"
0220 "Construction managers 11-9021"
0230 "Education administrators 11-9030"
0300 "Architectural and Engineering managers 11-9041"
0310 "Food service managers 11-9051"
0325 "Funeral service managers 11-9061"
0330 "Gaming managers 11-9071"
0340 "Lodging managers 11-9081"
0350 "Medical and health services managers 11-9111"
0360 "Natural sciences managers 11-9121"
0400 "Postmasters and mail superintendents 11-9131"
0410 "Property, real estate, and community association managers 11-9141"
0420 "Social and community service managers 11-9151"
0425 "Emergency management directors 11-9161"
0430 "Managers, all other 11-9199"
0500 "Agents and business managers of artists, performers, athletes 13-1011"
0510 "Buyers and Purchasing agents, farm products 13-1021"
0520 "Wholesale and retail buyers, except farm products 13-1022"
0530 "Purchasing agents, except wholesale, retail, and farm products 13-1023"
0540 "Claims adjusters, appraisers, examiners, and investigators 13-1030"
0565 "Compliance officers 13-1041"
0600 "Cost estimators 13-1051"
0630 "Human resources workers 13-1070"
0640 "Compensation, benefits, and job analysis specialiststs 13-1141"
0650 "Training and development specialists 13-1151"
0700 "Logisticians 13-1081"
0710 "Management analysts 13-1111"
0725 "Meeting, convention, and event planners 13-1121"
0726 "Fundraisers 13-1131"
0735 "Market research analysts and marketing specialists 13-1161"
0740 "Business operations specialists, all other 13-1199"
0800 "Accountants and auditors 13-2011"
0810 "Appraisers and assessors of real estate 13-2021"
0820 "Budget analysts 13-2031"
0830 "Credit analysts 13-2041"
0840 "Financial analysts 13-2051"
0850 "Personal financial advisors 13-2052"
0860 "Insurance underwriters 13-2053"
0900 "Financial examiners 13-2061"
0910 "Credit counselors and loan officers 13-2070"
0930 "Tax examiners, collectors, and revenue agents 13-2081"
0940 "Tax prepares 13-2082"
0950 "Financial specialists, all other 13-2099"
1005 "Computer and information reserach scientists 15-1111"
1006 "Computer systems analysts 15-1121"
1007 "Information security analysts 15-1122"
1010 "Computer programmers 15-1131"
1020 "Software developers, applications, and systems software 15-1132, 15-1133"
1030 "Web developers 15-1134"
1050 "Computer support specialists 15-1150"
1060 "Database administrators 15-1141"
1105 "Network and computer systems administrators 15-1142"
1106 "Computer network architects 15-1143"
1107 "Computer occupations, all other 15-1199"
1200 "Actuaries 15-2011"
1210 "Mathematicians 15-2021"
1220 "Operations research analysts 15-2031"
1230 "Statisticians 15-2041"
1240 "Miscellaneous mathematical science occupations 15-2090"
1300 "Architects, except naval 17-1010"
1310 "Surveyors, cartographers, and photogrammetrists 17-1020"
1320 "Aerospace engineers 17-2011"
1330 "Agricultural engineers 17-2021"
1340 "Biomedical engineers 17-2031"
1350 "Chemical engineers 17-2041"
1360 "Civil engineers 17-2051"
1400 "Computer hardware engineers 17-2061"
1410 "Electrical and electronic engineers 17-2070"
1420 "Environmental engineers 17-2081"
1430 "Industrial engineers, including health and safety 17-2110"
1440 "Marine engineers and naval architects 17-2121"
1450 "Materials engineers 17-2131"
1460 "Mechanical engineers 17-2141"
1500 "Mining & geological engineers, including mining safety engineers 17-2151"
1510 "Nuclear engineers 17-2161"
1520 "Petroleum engineers 17-2171"
1530 "Engineers, all other 17-2199"
1540 "Drafters 17-3010"
1550 "Engineering technicians, except drafters 17-3020"
1560 "Surveying and mapping technicians 17-3031"
1600 "Agricultural and food scientists 19-1010"
1610 "Biological scientists 19-1020"
1640 "Conservation scientists and foresters 19-1030"
1650 "Medical scientists 19-1040"
1660 "Life scienstists, all other 16-1099"
1700 "Astronomers and physicists 19-2010"
1710 "Atmospheric and space scientists 19-2021"
1720 "Chemists and materials scientists 19-2030"
1740 "Environmental scientists and geoscientists 19-2040"
1760 "Physical scientists, all other 19-2099"
1800 "Economists 19-3011"
1815 "Survey researchers 19-3022"
1820 "Psychologists 19-3030"
1830 "Sociologists 19-3041"
1840 "Urban and regional planners 19-3051"
1860 "Miscellaneous social scientists and related workers 19-3090"
1900 "Agricultural and food science technicians 19-4011"
1910 "Biological technicians 19-4021"
1920 "Chemical technicians 19-4031"
1930 "Geological and petroleum technicians 19-4041"
1940 "Nuclear technicians 19-4051"
1950 "Social science research assistants 19-4061"
1965 "Miscellaneous life, physical, and social science technicians 19-4090"
2000 "Counselors 21-1010"
2010 "Social workers 21-1020"
2015 "Probation officers and correctional treatment specialists 21-1092"
2016 "Social and human service assistants 21-1093"
2025 "Misc community and social service specialists, incl health educators and comm health workers 21-1091, 21-1094, 21-1099"
2040 "Clergy 21-2011"
2050 "Directors, religious activities and education 21-2021"
2060 "Religious workers, all other 21-2099"
2100 "Lawyers, Judges, magistrates, and other judicial workers 23-1011"
2105 "Judicial Law Clerks 23-1012"
2145 "Paralegals and legal assistants 23-2011"
2160 "Miscellaneous legal support workers 23-2090"
2200 "Postsecondary teachers 25-1000"
2300 "Preschool and kindergarten teachers 25-2010"
2310 "Elementary and middle school teachers 25-2020"
2320 "Secondary school teachers 25-2030"
2330 "Special education teachers 25-2050"
2340 "Other teachers and instructors 25-3000"
2400 "Archivists, curators, and museum technicians 25-4010"
2430 "Librarians 25-4021"
2440 "Library technicians 25-4031"
2540 "Teacher assistants 25-9041"
2550 "Other education, training, and library workers 25-90XX"
2600 "Artists and related workers 27-1010"
2630 "Designers 27-1020"
2700 "Actors 27-2011"
2710 "Producers and directors 27-2012"
2720 "Athletes, coaches, umpires, and related workers 27-2020"
2740 "Dancers and choreographers 27-2030"
2750 "Musicians, singers, and related workers 27-2040"
2760 "Entertainers & performers, sports & related workers, all other 27-2099"
2800 "Announcers 27-3010"
2810 "News analysts, reporters and correspondents 27-3020"
2825 "Public relations specialists 27-3031"
2830 "Editors 27-3041"
2840 "Technical writers 27-3042"
2850 "Writers and authors 27-3043"
2860 "Miscellaneous media and communication workers 27-3090"
2900 "Broadcast and sound engineering technicians and radio operators 27-4010"
2910 "Photographers 27-4021"
2920 "Television, video, & motion picture camera operators & editors 27-4030"
2960 "Media and communication equipment workers, all other 27-4099"
3000 "Chiropractors 29-1011"
3010 "Dentists 29-1020"
3030 "Dietitians and nutritionists 29-1031"
3040 "Optometrists 29-1041"
3050 "Pharmacists 29-1051"
3060 "Physicians and surgeons 29-1060"
3110 "Physician assistants 29-1071"
3120 "Podiatrists 29-1081"
3140 "Audiologists 29-1181"
3150 "Occupational therapists 29-1122"
3160 "Physical therapists 29-1123"
3200 "Radiation therapists 29-1124"
3210 "Recreational therapists 29-1125"
3220 "Respiratory therapists 29-1126"
3230 "Speech-language pathologists 29-1127"
3235 "Exercise Physiologists 29-1128"
3245 "Therapists, all other 29-1129"
3250 "Veterinarians 29-1131"
3255 "Registred Nurses 29-1141"
3256 "Nurse Anethetists 29-1151"
3257 "Nurse Midwives 29-1161"
3258 "Nurse Practitioners 29-1171"
3260 "Health diagnosing and treating practitioners, all other 29-1199"
3300 "Clinical laboratory technologists and technicians 29-2010"
3310 "Dental hygienists 29-2021"
3320 "Diagnostic related technologists and technicians 29-2030"
3400 "Emergency medical technicians and paramedics 29-2041"
3420 "Health practitioner support technologists and technicians 29-2050"
3500 "Licensed practical and licensed vocational nurses 29-2061"
3510 "Medical records and health information technicians 29-2071"
3520 "Opticians, dispensing 29-2081"
3535 "Miscellaneous health technologists and technicians 29-2090"
3540 "Other healthcare practitioners and technical occupations 29-9000"
3600 "Nursing, psychiatric, and home health aides 31-1010"
3610 "Occupational therapy assistants and aides 31-2010"
3620 "Physical therapist assistants and aides 31-2020"
3630 "Massage therapists 31-9011"
3640 "Dental assistants 31-9091"
3645 "Medical Assistants 31-9092"
3646 "Medical Transcriptionists 31-9094"
3647 "Pharmacy Aides 31-9095"
3648 "Veterinary assistants and laboratory animal caretakers 31-9096"
3649 "Phlebotomists 31-9097"
3655 "Healthcare support workers, all other, incl medical equip preparers 31-9093, 31-9099"
3700 "1st-line supervisors of correctional officers 33-1011"
3710 "1st-line supervisors of police and detectives 33-1012"
3720 "1st-line supervisors fire fighting & prevention workers 33-1021"
3730 "1st-line supervisors of protective service workers, all other 33-1099"
3740 "Firefighters 33-2011"
3750 "Fire inspectors 33-2020"
3800 "Bailiffs, correctional officers, and jailers 33-3010"
3820 "Detectives and criminal investigators 33-3021"
3830 "Fish and game wardens 33-3031"
3840 "Parking enforcement workers 33-3041"
3850 "Police and sheriff's patrol officers 33-3051"
3860 "Transit and railroad police 33-3052"
3900 "Animal control workers 33-9011"
3910 "Private detectives and investigators 33-9021"
3930 "Security guards and gaming surveillance officers 33-9030"
3940 "Crossing guards 33-9091"
3945 "Transportation security screeners 33-9093"
3955 "Lifeguards and other recreational, and all other protective service workers 33-9092, 33-9099"
4000 "Chefs and head cooks 35-1011"
4010 "1st-line supervisors of food prep and serving workers 35-1012"
4020 "Cooks 35-2010"
4030 "Food preparation workers 35-2021"
4040 "Bartenders 35-3011"
4050 "Combined food prep and serving workers, including fast food 35-3021"
4060 "Counter attendants, cafeteria, food concession, and coffee shop 35-3022"
4110 "Waiters and waitresses 35-3031"
4120 "Food servers, nonrestaurant 35-3041"
4130 "Dining room and cafeteria attendants and bartender helpers 35-9011"
4140 "Dishwashers 35-9021"
4150 "Hosts and hostesses, restaurant, lounge, and coffee shop 35-9031"
4160 "Food preparation and serving related workers, all other 35-9099"
4200 "1st-line supervisors of housekeeping & janitorial workers 37-1011"
4210 "1st-line supervisors of landscaping, lawn service, groundkeeping workers 37-1012"
4220 "Janitors and building cleaners 31-201X"
4230 "Maids and housekeeping cleaners 37-2012"
4240 "Pest control workers 37-2021"
4250 "Grounds maintenance workers 37-3010"
4300 "First-line supervisors of gaming workers 39-1010"
4320 "First-line supervisors of personal service workers 39-1021"
4340 "Animal trainers 39-2011"
4350 "Nonfarm animal caretakers 39-2021"
4400 "Gaming services workers 39-3010"
4410 "Motion picture projectionists 39-3021"
4420 "Ushers, lobby attendants, and ticket takers 39-3031"
4430 "Miscellaneous entertainment attendants and related workers 39-3090"
4460 "Embalmers and funeral attendents 39-4011, 39-4021"
4465 "Morticians, undertakers, and funeral directors 39-4031"
4500 "Barbers 39-5011"
4510 "Hairdressers, hairstylists, and cosmetologists 39-5012"
4520 "Miscellaneous personal appearance workers 39-5090"
4530 "Baggage porters, bellhops, and concierges 39-6010"
4540 "Tour and travel guides 39-7010"
4600 "Childcare workers 39-9011"
4610 "Personal care aides 39-9021"
4620 "Recreation and fitness workers 39-9030"
4640 "Residential advisors 39-9041"
4650 "Personal care and service workers, all other 39-9099"
4700 "First-line supervisors of retail sales workers 41-1011"
4710 "First-line supervisors of non-retail sales workers 41-1012"
4720 "Cashiers 41-2010"
4740 "Counter and rental clerks 41-2021"
4750 "Parts salespersons 41-2022"
4760 "Retail salespersons 41-2031"
4800 "Advertising sales agents 41-3011"
4810 "Insurance sales agents 41-3021"
4820 "Securities, commodities, and financial services sales agents 41-3031"
4830 "Travel agenets 41-3041"
4840 "Sales representatives, services, all other 41-3099"
4850 "Sales representatives, wholesale and manufacturing 41-4010"
4900 "Models, demonstrators, and product promoters 41-9010"
4920 "Real estate brokers and sales agents 41-9020"
4930 "Sales engineers 41-9031"
4940 "Telemarketers 41-9041"
4950 "Door-to-door sales, news & street vendors, & related workers 41-9091"
4965 "Sales and related workers, all other 41-9099"
5000 "1st-line supervisors of office & admin support workers 43-1011"
5010 "Switchboard operators, including answering service 43-2011"
5020 "Telephone operators 43-2021"
5030 "Communications equipment operators, all other 43-2099"
5100 "Bill and account collectors 43-3011"
5110 "Billing and posting clerks 43-3021"
5120 "Bookkeeping, accounting, and auditing clerks 43-3031"
5130 "Gaming cage workers 43-3041"
5140 "Payroll and timekeeping clerks 43-3051"
5150 "Procurement clerks 43-3061"
5160 "Tellers 43-3071"
5165 "Financial clerks, all other 43-3099"
5200 "Brokerage clerks 43-4011"
5210 "Correspondence clerks 43-4021"
5220 "Court, municipal, and license clerks 43-4031"
5230 "Credit authorizers, checkers, and clerks 43-4041"
5240 "Customer service representatives 43-4051"
5250 "Eligibility interviewers, government programs 43-4061"
5260 "File Clerks 43-4071"
5300 "Hotel, motel, and resort desk clerks 43-4081"
5310 "Interviewers, except eligibility and loan 43-4111"
5320 "Library assistants, clerical 43-4121"
5330 "Loan interviewers and clerks 43-4131"
5340 "New accounts clerks 43-4141"
5350 "Order clerks 43-4151"
5360 "Human resources assistants, except payroll and timekeeping 43-4161"
5400 "Receptionists and information clerks 43-4171"
5410 "Reservation and transportation ticket agents and travel clerks 43-4181"
5420 "Information and record clerks, all other 43-4199"
5500 "Cargo and freight agents 43-5011"
5510 "Couriers and messengers 43-5021"
5520 "Dispatchers 43-5030"
5530 "Meter readers, utilities 43-5041"
5540 "Postal service clerks 43-5051"
5550 "Postal service mail carriers 43-5052"
5560 "Postal serv mail sorters, processors, & proc machine operators 43-5053"
5600 "Production, planning, and expediting clerks 43-5061"
5610 "Shipping, receiving, and traffic clerks 43-5071"
5620 "Stock clerks and order fillers 43-5081"
5630 "Weighers, measurers, checkers, and samplers, recordkeeping 43-5111"
5700 "Secretaries and administrative assistants 43-6010"
5800 "Computer operators 43-9011"
5810 "Data entry keyers 43-9021"
5820 "Word processors and typists 43-9022"
5830 "Desktop publishers 43-9031"
5840 "Insurance claims and policy processing clerks 43-9041"
5850 "Mail clerks and mail machine operators, except postal service 43-9051"
5860 "Office clerks, general 43-9061"
5900 "Office machine operators, except computer 43-9071"
5910 "Proofreaders and copy markers 43-9081"
5920 "Statistical assistants 43-9111"
5940 "Office and administrative support workers, all other 43-9199"
6005 "1st-line supervisors of farming, fishing, and forestry workers 45-1011"
6010 "Agricultural inspectors 45-2011"
6020 "Animal breeders 45-2021"
6040 "Graders and sorters, agricultural products 45-2041"
6050 "Miscellaneous agricultural workers 45-2090"
6100 "Fishers and related fishing workers 45-3011"
6110 "Hunters and trappers 45-3021"
6120 "Forest and conservation workers 45-4011"
6130 "Logging workers 45-4020"
6200 "1st-line supervisors of construction traces & extraction workers 47-1011"
6210 "Boilermakers 47-2011"
6220 "Brickmasons, blockmasons, and stonemasons 47-2020"
6230 "Carpenters 47-2031"
6240 "Carpet, floor, and tile installers and finishers 47-2040"
6250 "Cement masons, concrete finishers, and terrazzo workers 47-2050"
6260 "Construction laborers 47-2061"
6300 "Paving, surfacing, and tamping equipment operators 47-2071"
6310 "Pile-driver operators 47-2072"
6320 "Operating engineers and other construction equipment operators 47-2073"
6330 "Drywall installers, ceiling tile installers, and tapers 47-2080"
6355 "Electricians 47-2111"
6360 "Glaziers 47-2121"
6400 "Insulation workers 47-2130"
6420 "Painters, construction and maintenance 47-2141"
6430 "Paperhangers 47-2142"
6440 "Pipelayers, plumbers, pipefitters, and steamfitters 47-2150"
6460 "Plasterers and stucco masons 47-2161"
6500 "Reinforcing iron and rebar workers 47-2171"
6515 "Roofers 47-2181"
6520 "Sheet metal workers 47-2211"
6530 "Structural iron and steel workers 47-2221"
6540 "Solar photovoltaic installers 47-2231"
6600 "Helpers, construction trades 47-3010"
6660 "Construction and building inspectors 47-4011"
6700 "Elevator installers and repairers 47-4021"
6710 "Fence erectors 47-4031"
6720 "Hazardous materials removal workers 47-4041"
6730 "Highway maintenance workers 47-4051"
6740 "Rail-track laying and maintenance equipment operators 47-4061"
6750 "Septic tank servicers and sewer pipe cleaners 47-4071"
6765 "Miscellaneous construction and related workers 47-4090"
6800 "Derrick, rotary drill, service unit operators, oil, gas, mining 47-5010"
6820 "Earth drillers, except oil and gas 47-5021"
6830 "Explosives workers, ordnance handling experts, and blasters 47-5031"
6840 "Mining machine operators 47-5040"
6910 "Roof bolters, mining 47-5061"
6920 "Roustabouts, oil and gas 47-5071"
6930 "Helpers--extraction workers 47-5081"
6940 "Other extraction workers 47-50XX"
7000 "1st-line supervisors of mechanics, installers, repairers 49-1011"
7010 "Computer, automated teller, and office machine repairers 49-2011"
7020 "Radio and telecommunications equipment installers and repairers 49-2020"
7030 "Avionics technicians 49-2091"
7040 "Electric motor, power tool, and related repairers 49-2092"
7050 "Electrical & electronics installers, repairers, transp equipment 49-2093"
7100 "Electrical and electronics repairers, industrial and utility 49-209X"
7110 "Electronic equipment installers and repairers, motor vehicles 49-2096"
7120 "Electronic home entertainment equipment installers and repairers 49-2097"
7130 "Security and fire alarm systems installers 49-2098"
7140 "Aircraft mechanics and service technicians 49-3011"
7150 "Automotive body and related repairers 49-3021"
7160 "Automotive glass installers and repairers 49-3022"
7200 "Automotive service technicians and mechanics 49-3023"
7210 "Bus and truck mechanics and diesel engine specialists 49-3031"
7220 "Heavy vehicle & mobile equipment service techs & mechanics 49-3040"
7240 "Small engine mechanics 49-3050"
7260 "Misc vehicle & mobile equipment mechanics, installers, repairers 49-3090"
7300 "Control and valve installers and repairers 49-9010"
7315 "Heating, air conditioning, and refrigeration mechanics and installers 49-9021"
7320 "Home appliance repairers 49-9031"
7330 "Industrial and refractory machinery mechanics 49-904X"
7340 "Maintenance and repair workers, general 49-9071"
7350 "Maintenance workers, machinery 49-9043"
7360 "Millwrights 49-9044"
7410 "Electrical power-line installers and repairers 49-9051"
7420 "Telecommunications line installers and repairers 49-9052"
7430 "Precision instrument and equipment repairers 49-9060"
7440 "Wind turbine service technicians 49-9081"
7510 "Coin, vending, and amusement machine servicers and repairers 49-9091"
7520 "Commercial divers 49-9092"
7540 "Locksmiths and safe repairers 49-9094"
7550 "Manufactured building and mobile home installers 49-9095"
7560 "Riggers 49-9096"
7600 "Signal and track switch repairers 49-9097"
7610 "Helpers--installation, maintenance, and repair workers 49-9098"
7630 "Other installation, maintenance, and repair workers 49-9093, 49-9099"
7700 "1st-line supervisors of production & operating workers 51-1011"
7710 "Aircraft structure, surfaces, rigging, and systems assemblers 51-2011"
7720 "Electrical, electronics, and electromechanical assemblers 51-2020"
7730 "Engine and other machine assemblers 51-2031"
7740 "Structural metal fabricators and fitters 51-2041"
7750 "Miscellaneous assemblers and fabricators 51-2090"
7800 "Bakers 51-3011"
7810 "Butchers and other meat, poultry, and fish processing workers 51-3020"
7830 "Food, tobacco roasting, baking, drying machine operators, tenders 51-3091"
7840 "Food batchmakers 51-3092"
7850 "Food cooking machine operators and tenders 51-3093"
7855 "Food processing workers, all other 51-3099"
7900 "Computer control programmers and operators 51-4010"
7920 "Extruding, drawing machine operators & tenders, metal, plastic 51-4021"
7930 "Forging machine setters, operators, tenders, metal and plastic 51-4022"
7940 "Rolling machine setters, operators, tenders, metal and plastic 51-4023"
7950 "Cutting, punching machine operators, tenders, metal, plastic 51-4031"
7960 "Drilling, boring machine tool operators, tenders, metal, plastic 51-4032"
8000 "Grinding, polishing, machine operators, tenders, metal & plastic 51-4033"
8010 "Lathe, turning machine operators, tenders, metal and plastic 51-4034"
8020 "Milling, planing machine operators, tenders, metal and plastic 51-4035"
8030 "Machinists 51-4041"
8040 "Metal furnace operators, tenders, pourers, and casters 51-4050"
8060 "Model makers and patternmakers, metal and plastic 51-4060"
8100 "Molders, molding machine operators, tenders, metal, plastic 51-4070"
8120 "Multiple machine operators, and tenders, metal and plastic 51-4081"
8130 "Tool and die makers 51-4111"
8140 "Welding, soldering, and brazing workers 51-4120"
8150 "Heat treating equipment operators,tenders, metal and plastic 51-4191"
8160 "Lay-out workers, metal and plastic 51-4192"
8200 "Plating, coating machine operators, tenders, metal and plastic 51-4193"
8210 "Tool grinders, filers, and sharpeners 51-4194"
8220 "Metalworkers and plastic workers, all other 51-4199"
8250 "Prepress technicians and workers 51-5111"
8255 "Printing press operators 51-5112"
8256 "Print binding and finishing workers 51-5113"
8300 "Laundry and dry-cleaning workers 51-6011"
8310 "Pressers, textile, garment, and related materials 51-6021"
8320 "Sewing machine operators 51-6031"
8330 "Shoe and leather workers and repairers 51-6041"
8340 "Shoe machine operators and tenders 51-6042"
8350 "Tailors, dressmakers, and sewers 51-6050"
8360 "Textile bleaching and dyeing machine operators and tenders 51-6061"
8400 "Textile cutting machine setters, operators, and tenders 51-6062"
8410 "Textile knitting & weaving machine setters, operators & tenders 51-6063"
8420 "Textile winding, twisting, drawing machine operators, tenders 51-6064"
8430 "Extruding, forming machine operators, tenders, synthetic, glass 51-6091"
8440 "Fabric and apparel patternmakers 51-6092"
8450 "Upholsterers 51-6093"
8460 "Textile, apparel, and furnishings workers, all other 51-6099"
8500 "Cabinetmakers and bench carpenters 51-7011"
8510 "Furniture finishers 51-7021"
8520 "Model makers and patternmakers, wood 51-7030"
8530 "Sawing machine setters, operators, and tenders, wood 51-7041"
8540 "Woodworking machine setters, operators, tenders, except sawing 51-7042"
8550 "Woodworkers, all other 51-7099"
8600 "Power plant operators, distributors, and dispatchers 51-8010"
8610 "Stationary engineers and boiler operators 51-8021"
8620 "Water and wastewater treatment plant and system operators 51-8031"
8630 "Miscellaneous plant and system operators 51-8090"
8640 "Chemical processing machine setters, operators, and tenders 51-9010"
8650 "Crushing, grinding, polishing, mixing, and blending workers 51-9020"
8710 "Cutting workers 51-9030"
8720 "Extruding, pressing, compacting machine operators, and tenders 51-9041"
8730 "Furnace, kiln, oven, drier, and kettle operators and tenders 51-9051"
8740 "Inspectors, testers, sorters, samplers, and weighers 51-9061"
8750 "Jewelers and precious stone and metal workers 51-9071"
8760 "Medical, dental, and ophthalmic laboratory technicians 51-9080"
8800 "Packaging and filling machine operators and tenders 51-9111"
8810 "Painting workers 51-9120"
8830 "Photographic process workers and processing machine operators 51-9151"
8840 "Semiconductor processors 51-9141"
8850 "Adhesive bonding machine operators and tenders 51-9191"
8860 "Cleaning, washing, metal pickling equipment operators, tenders 51-9192"
8900 "Cooling and freezing equipment operators and tenders 51-9193"
8910 "Etchers and engravers 51-9194"
8920 "Molders, shapers, and casters, except metal and plastic 51-9195"
8930 "Paper goods machine setters, operators, and tenders 51-9196"
8940 "Tire builders 51-9197"
8950 "Helpers--production workers 51-9198"
8965 "Production workers, all other 51-9199"
9000 "Supervisors of transportation and material moving workers 53-1000"
9030 "Aircraft pilots and flight engineers 53-2010"
9040 "Air traffic controllers and airfield operations specialists 53-2020"
9050 "Flight Attendents 53-2031"
9110 "Ambulance drivers, attendants, exc. emergency medical techs 53-3011"
9120 "Bus drivers 53-3020"
9130 "Driver/sales workers and truck drivers 53-3030"
9140 "Taxi drivers and chauffeurs 53-3041"
9150 "Motor vehicle operators, all other 53-3099"
9200 "Locomotive engineers and operators 53-4010"
9230 "Railroad brake, signal, and switch operators 53-4021"
9240 "Railroad conductors and yardmasters 53-4031"
9260 "Subway, streetcar, and other rail transportation workers 53-40XX"
9300 "Sailors and marine oilers 53-5011"
9310 "Ship and boat captains and operators 53-5020"
9330 "Ship engineers 53-5031"
9340 "Bridge and lock tenders 53-6011"
9350 "Parking lot attendants 53-6021"
9360 "Automotive and watercraft service attendants 53-6031"
9410 "Transportation inspectors 53-6051"
9415 "Transportation attendants, except flight attendants 53-6061"
9420 "Other transportation workers 53-60XX"
9500 "Conveyor operators and tenders 53-7011"
9510 "Crane and tower operators 53-7021"
9520 "Dredge, excavating, and loading machine operators 53-7030"
9560 "Hoist and winch operators 53-7041"
9600 "Industrial truck and tractor operators 53-7051"
9610 "Cleaners of vehicles and equipment 53-7061"
9620 "Laborers and freight, stock, and material movers, hand 53-7062"
9630 "Machine feeders and offbearers 53-7063"
9640 "Packers and packagers, hand 53-7064"
9650 "Pumping station operators 53-7070"
9720 "Refuse and recyclable material collectors 53-7081"
9730 "mine shuttle car operators 53-7111"
9740 "Tank car, truck, and ship loaders 53-7121"
9750 "Material moving workers, all other 53-7199"
9840 "Armed Forces"
9970 "Problem referral [recoded to missing]"
9990 "Not reported, not codable [recoded to missing]"
;
#delimit cr
lab val occ11 occ11


if `year'==2012 {
    capture rename ptio1ocd peio1ocd if (1<=month & month<=4)
    replace occ11=peio1ocd if (1<=month & month<=4)
    replace occ11=. if occ11<=0 & (1<=month & month<=4)
    replace occ11=. if (occ11==9970 | occ11==9990) & (1<=month & month<=4)

	

/* coding changes May 2012 */

/* Changes from 2011:
Removed - 0325 - Funeral service managers
Removed - 0400 - Postmasters and mail superintendents
1210 and 1230 removed and combined into new 1240
Removed - 1330 - Agricultural engineers; added to 1340
Removed - 1660 - Life scienstists, all others; added to 1650
Removed - 1815 - Survey researchers; added to 1860
Removed - 1830 - Sociologists; added to 1860
Removed - 1940 - Nuclear technicians
Removed - 1950 - Social science research assistants
Removed - 2960 - Media and communication equipment workers, all other
Removed - 3120 - Podiatrists; added to 3540
Removed - 3235 - Exercist Physiologists; added to 3245
Removed - 3257 - Nurse Midwives; added to 3258
Removed - 3830 - Fish and game wardens
Removed - 3860 - Transit and railroad police
Removed - 4160 - Food preparation and serving related workers, all other; added to 4130
Removed - 5210 - Correspondence clerks; added to 5350
Removed - 5830 - Desktop publishers; added to 5940
Removed - 6020 - Animal breeders; added to 6050
Removed - 6110 - Hunters and trappers
Removed - 6310 - Pile-driver operators
Changed - 6320 - from Operating engineers and other construction equipment operators
Removed - 6430 - Paperhangers; added to 6420
Removed - 6540 - Solar photovoltaic installers; added to 6765
Removed - 6910 - Roof bolters, mining; added to 6940
Removed - 6930 - Helpers--extraction workers; added to 6940
Removed - 7050 - Electrical & electronics installers, repairers, transp equipment
Removed - 7440 - Wind turbine service technicians; added to 7630
Removed - 7520 - Commercial divers; added to 7630
Removed - 7600 - Signal and track switch repairers; added to 7630
Removed - 7930 - Forging machine setters, operators, tenders, metal and plastic; added to 7940
Removed - 7960 - Drilling, boring machine tool operators, tenders, metal, plastic
Removed - 8020 - Milling, planing machine operators, tenders, metal and plastic 
Removed - 8060 - Model makers and patternmakers, metal and plastic
Removed - 8120 - Multiple machine operators, and tenders, metal and plastic
Removed - 8150 - Heat treating equipment operators,tenders, metal and plastic 51-4191"
Removed - 8160 - Lay-out workers, metal and plastic 51-4192"
Removed - 8340 - Shoe machine operators and tenders 51-6042"
Removed - 8360 - Textile bleaching and dyeing machine operators and tenders 51-6061"
Removed - 8430 - Extruding, forming machine operators, tenders, synthetic, glass 51-6091"
Removed - 8440 - Fabric and apparel patternmakers 51-6092"
Removed - 8520 - Model makers and patternmakers, wood; added to 8550
Removed - 8840 - Semiconductor processors; added to 8965
Removed - 8900 - Cooling and freezing equipment operators and tenders; added to 8965
Removed - 9230 - Railroad brake, signal, and switch operators; added to 9240
Removed - 9330 - Ship engineers 53-5031"
Removed - 9340 - Bridge and lock tenders; added to 9420
Removed - 9500 - Conveyor operators and tenders; added tp 9560
Removed - 9730 - Shuttle car operators; added to 9750
Removed - 9740 - Tank car, truck, and ship loaders; added to 9750
*/

    capture rename ptio1ocd peio1ocd if (5<=month & month<=12)
    replace occ12=peio1ocd if (5<=month & month<=12)
    replace occ12=. if occ12<=0 & (5<=month & month<=12)
    replace occ12=. if (occ12==9970 | occ12==9990) & (5<=month & month<=12)
}

#delimit ;
lab def occ12
0010 "Chief executives 11-1011"
0020 "Gen and operations managers 11-1021"
0040 "Advertising and promotions managers 11-2011"
0050 "Marketing and sales managers 11-2020"
0060 "Public relations managers 11-2031"
0100 "Administrative services managers 11-3011"
0110 "Computer and information systems managers 11-3021"
0120 "Financial managers 11-3031"
0135 "Compensation and benefits managers 11-311"
0136 "Human resources managers 11-3121"
0137 "Training and development managers 11-3131"
0140 "Industrial production managers 11-3051"
0150 "Purchasing managers 11-3061"
0160 "Transportation, storage, and distribution managers 11-3071"
0205 "Farm, ranch, and other agricultural managers 11-9013"
0220 "Construction managers 11-9021"
0230 "Education administrators 11-9030"
0300 "Engineering managers 11-9041"
0310 "Food service managers 11-9051"
0330 "Gaming managers 11-9071"
0340 "Lodging managers 11-9081"
0350 "Medical and health services managers 11-9111"
0360 "Natural sciences managers 11-9121"
0410 "Property, real estate, and community association managers 11-9141"
0420 "Social and community service managers 11-9151"
0425 "Emergency management directors 11-9161"
0430 "Managers, all other 11-9199"
0500 "Agents and business managers of artists, performers, athletes 13-1011"
0510 "Purchasing agents and buyers, farm products 13-1021"
0520 "Wholesale and retail buyers, except farm products 13-1022"
0530 "Purchasing agents, except wholesale, retail, and farm products 13-1023"
0540 "Claims adjusters, appraisers, examiners, and investigators 13-1030"
0565 "Compliance officers 13-1041"
0600 "Cost estimators 13-1051"
0630 "Human resources workers 13-1070"
0640 "Compensation, benefits, and job analysis specialistst 13-1141"
0650 "Training and development specialists 13-1151"
0700 "Logisticians 13-1081"
0710 "Management analysts 13-1111"
0725 "Meeting, convention, and event planners 13-1121"
0726 "Fundraisers 13-1131"
0735 "Market research analysts and marketing specialists 13-1161"
0740 "Business operations specialists, all other 13-1199"
0800 "Accountants and auditors 13-2011"
0810 "Appraisers and assessors of real estate 13-2021"
0820 "Budget analysts 13-2031"
0830 "Credit analysts 13-2041"
0840 "Financial analysts 13-2051"
0850 "Personal financial advisors 13-2052"
0860 "Insurance underwriters 13-2053"
0900 "Financial examiners 13-2061"
0910 "Loan counselors and officers 13-2070"
0930 "Tax examiners, collectors, and revenue agents 13-2081"
0940 "Tax prepares 13-2082"
0950 "Financial specialists, all other 13-2099"
1005 "Computer and information reserach scientists 15-1111"
1006 "Computer systems analysts 15-1121"
1007 "Information security analysts 15-1122"
1010 "Computer programmers 15-1031"
1020 "Software developers, applications, and systems software 15-113X"
1030 "Web developers 15-1134"
1050 "Computer support specialists 15-1150"
1060 "Database administrators 15-1041"
1105 "Network and computer systems administrators 15-1142"
1106 "Computer network architects 15-1143"
1107 "Computer occupation, all other 15-1199"
1200 "Actuaries 15-2011"
1210 "Mathematicians 15-2021, not in 2013"
1220 "Operations research analysts 15-2031"
1230 "Statisticians 15-2041, not in 2013"
1240 "Mathematicians, Statisticians, and Misc mathematical science occ 15-20XX"
1300 "Architects, except naval 17-1010"
1310 "Surveyors, cartographers, and photogrammetrists 17-1020"
1320 "Aerospace engineers 17-2011"
1340 "Agricultural and Biomedical engineers 17-20XX"
1350 "Chemical engineers 17-2041"
1360 "Civil engineers 17-2051"
1400 "Computer hardware engineers 17-2061"
1410 "Electrical and electronic engineers 17-2070"
1420 "Environmental engineers 17-2081"
1430 "Industrial engineers, including health and safety 17-2110"
1440 "Marine engineers and naval architects 17-2121"
1450 "Materials engineers 17-2131"
1460 "Mechanical engineers 17-2141"
1500 "Mining & geological engineers, including mining safety engineers 17-2151"
1510 "Nuclear engineers 17-2161"
1520 "Petroleum engineers 17-2171"
1530 "Engineers, all other 17-2199"
1540 "Drafters 17-3010"
1550 "Engineering technicians, except drafters 17-3020"
1560 "Surveying and mapping technicians 17-3031"
1600 "Agricultural and food scientists 19-1010"
1610 "Biological scientists 19-1020"
1640 "Conservation scientists and foresters 19-1030"
1650 "Medical scientists and life scientists, all other 19-10XX"
1700 "Astronomers and physicists 19-2010"
1710 "Atmospheric and space scientists 19-2021"
1720 "Chemists and materials scientists 19-2030"
1740 "Environmental scientists and geoscientists 19-2040"
1760 "Physical scientists, all other 19-2099"
1800 "Economists 19-3011"
1820 "Psychologists 19-3030"
1840 "Urban and regional planners 19-3051"
1860 "Miscellaneous social scientists, including survey researchers and sociologists 19-30XX"
1900 "Agricultural and food science technicians 19-4011"
1910 "Biological technicians 19-4021"
1920 "Chemical technicians 19-4031"
1930 "Geological and petroleum technicians 19-4041"
1965 "Miscellaneous life, physical, and social science technicians 19-4090"
2000 "Counselors 21-1010"
2010 "Social workers 21-1020"
2015 "Probation officers and correctional treatment specialists 21-1092"
2016 "Social and human service assistants 21-1093"
2025 "Misc community and social service specialists, incl heal educators and comm health workers 21-109X"
2040 "Clergy 21-2011"
2050 "Directors, religious activities and education 21-2021"
2060 "Religious workers, all other 21-2099"
2100 "Lawyers, Judges, magistrates, and other judicial workers 23-1011"
2105 "Judicial Law Clerks 23-1012"
2145 "Paralegals and legal assistants 23-2011"
2160 "Miscellaneous legal support workers 23-2090"
2200 "Postsecondary teachers 25-1000"
2300 "Preschool and kindergarten teachers 25-2010"
2310 "Elementary and middle school teachers 25-2020"
2320 "Secondary school teachers 25-2030"
2330 "Special education teachers 25-2050"
2340 "Other teachers and instructors 25-3000"
2400 "Archivists, curators, and museum technicians 25-4010"
2430 "Librarians 25-4021"
2440 "Library technicians 25-4031"
2540 "Teacher assistants 25-9041"
2550 "Other education, training, and library workers 25-90XX"
2600 "Artists and related workers 27-1010"
2630 "Designers 27-1020"
2700 "Actors 27-2011"
2710 "Producers and directors 27-2012"
2720 "Athletes, coaches, umpires, and related workers 27-2020"
2740 "Dancers and choreographers 27-2030"
2750 "Musicians, singers, and related workers 27-2040"
2760 "Entertainers & performers, sports & related workers, all other 27-2099"
2800 "Announcers 27-3010"
2810 "News analysts, reporters and correspondents 27-3020"
2825 "Public relations specialists 27-3031"
2830 "Editors 27-3041"
2840 "Technical writers 27-3042"
2850 "Writers and authors 27-3043"
2860 "Miscellaneous media and communication workers 27-3090"
2900 "Broadcast and sound engineering technicians and radio operators 27-4010"
2910 "Photographers 27-4021"
2920 "Television, video, & motion picture camera operators & editors 27-4030"
3000 "Chiropractors 29-1011"
3010 "Dentists 29-1020"
3030 "Dietitians and nutritionists 29-1031"
3040 "Optometrists 29-1041"
3050 "Pharmacists 29-1051"
3060 "Physicians and surgeons 29-1060"
3110 "Physician assistants 29-1071"
3140 "Audiologists 29-1181"
3150 "Occupational therapists 29-1122"
3160 "Physical therapists 29-1123"
3200 "Radiation therapists 29-1124"
3210 "Recreational therapists 29-1125"
3220 "Respiratory therapists 29-1126"
3230 "Speech-language pathologists 29-1127"
3245 "Exercise Physiologists and Therapists, all other 29-112X"
3250 "Veterinarians 29-1131"
3255 "Registred Nurses 29-1141"
3256 "Nurse Anethstists 29-1151"
3258 "Nurse midwives and Nurse Practitioners 29-11XX"
3260 "Health diagnosing and treating practitioners, all other 29-1199"
3300 "Clinical laboratory technologists and technicians 29-2010"
3310 "Dental hygienists 29-2021"
3320 "Diagnostic related technologists and technicians 29-2030"
3400 "Emergency medical technicians and paramedics 29-2041"
3420 "Health practitioner support technologists and technicians 29-2050"
3500 "Licensed practical and licensed vocational nurses 29-2061"
3510 "Medical records and health information technicians 29-2071"
3520 "Opticians, dispensing 29-2081"
3535 "Miscellaneous health technologists and technicians 29-2090"
3540 "Other healthcare practitioners and technical occupations, including podiatrists 29-XXXX"
3600 "Nursing, psychiatric, and home health aides 31-1010"
3610 "Occupational therapist assistants and aides 31-2010"
3620 "Physical therapist assistants and aides 31-2020"
3630 "Massage therapists 31-9011"
3640 "Dental assistants 31-9091"
3645 "Medical Assistants 31-9092"
3646 "Medical Transcriptionists 31-9094"
3647 "Pharmacy Aides 31-9095"
3648 "Veterinary assistants and laboratory animal caretakers 31-9096"
3649 "Phlebotomists 31-9097"
3655 "Miscellaneous healthcare support occupations, incl medical equip preparers 31-909X"
3700 "1st-line supervisors/managers of correctional officers 33-1011"
3710 "1st-line supervisors/managers of police and detectives 33-1012"
3720 "1st-line supervisors/managers fire fighting & prevention workers 33-1021"
3730 "Supervisors, protective service workers, all other 33-1099"
3740 "Fire fighters 33-2011"
3750 "Fire inspectors 33-2020"
3800 "Bailiffs, correctional officers, and jailers 33-3010"
3820 "Detectives and criminal investigators 33-3021"
3840 "Parking enforcement workers 33-3041"
3850 "Police and sheriffs patrol officers 33-3051"
3900 "Animal control workers 33-9011"
3910 "Private detectives and investigators 33-9021"
3930 "Security guards and gaming surveillance officers 33-9030"
3940 "Crossing guards 33-9091"
3945 "Transportation security screeners 33-9093"
3955 "Lifeguards and other recreational, and all other protective service workers 33-909X"
4000 "Chefs and head cooks 35-1011"
4010 "1st-line supervisors/managers food prep and serving workers 35-1012"
4020 "Cooks 35-2010"
4030 "Food preparation workers 35-2021"
4040 "Bartenders 35-3011"
4050 "Combined food prep and serving workers, including fast food 35-3021"
4060 "Counter attendants, cafeteria, food concession, and coffee shop 35-3022"
4110 "Waiters and waitresses 35-3031"
4120 "Food servers, nonrestaurant 35-3041"
4130 "Food preparation and serving workers, all other including dining room and cafeteria attendants and bartender helpers"
4140 "Dishwashers 35-9021"
4150 "Hosts and hostesses, restaurant, lounge, and coffee shop 35-9031"
4200 "1st-line supervisors/managers housekeeping & janitorial workers 37-1011"
4210 "1st-line supervisors/managers landscape, lawn, grounds workers 37-1012"
4220 "Janitors and building cleaners 31-201X"
4230 "Maids and housekeeping cleaners 37-2012"
4240 "Pest control workers 37-2021"
4250 "Grounds maintenance workers 37-3010"
4300 "First-line supervisors/managers of gaming workers 39-1010"
4320 "First-line supervisors/managers of personal service workers 39-1021"
4340 "Animal trainers 39-2011"
4350 "Nonfarm animal caretakers 39-2021"
4400 "Gaming services workers 39-3010"
4410 "Motion picture projectionists 39-3021"
4420 "Ushers, lobby attendants, and ticket takers 39-3031"
4430 "Miscellaneous entertainment attendants and related workers 39-3090"
4460 "Funeral service workers 39-40XX"
4465 "Morticians, undertakers, and funeral directors 39-4031"
4500 "Barbers 39-5011"
4510 "Hairdressers, hairstylists, and cosmetologists 39-5012"
4520 "Miscellaneous personal appearance workers 39-5090"
4530 "Baggage porters, bellhops, and concierges 39-6010"
4540 "Tour and travel guides 39-7010"
4600 "Child care workers 39-9011"
4610 "Personal and home care aides 39-9021"
4620 "Recreation and fitness workers 39-9030"
4640 "Residential advisors 39-9041"
4650 "Personal care and service workers, all other 39-9099"
4700 "First-line supervisors/managers of retail sales workers 41-1011"
4710 "First-line supervisors/managers of non-retail sales workers 41-1012"
4720 "Cashiers 41-2010"
4740 "Counter and rental clerks 41-2021"
4750 "Parts salespersons 41-2022"
4760 "Retail salespersons 41-2031"
4800 "Advertising sales agents 41-3011"
4810 "Insurance sales agents 41-3021"
4820 "Securities, commodities, and financial services sales agents 41-3031"
4830 "Travel agenets 41-3041"
4840 "Sales representatives, services, all other 41-3099"
4850 "Sales representatives, wholesale and manufacturing 41-4010"
4900 "Models, demonstrators, and product promoters 41-9010"
4920 "Real estate brokers and sales agents 41-9020"
4930 "Sales engineers 41-9031"
4940 "Telemarketers 41-9041"
4950 "Door-to-door sales, news & street vendors, & related workers 41-9091"
4965 "Sales and related workers, all other 41-9099"
5000 "1st-line supervisors/managers office & admin support workers 43-1011"
5010 "Switchboard operators, including answering service 43-2011"
5020 "Telephone operators 43-2021"
5030 "Communications equipment operators, all other 43-2099"
5100 "Bill and account collectors 43-3011"
5110 "Billing and posting clerks and machine operators 43-3021"
5120 "Bookkeeping, accounting, and auditing clerks 43-3031"
5130 "Gaming cage workers 43-3041"
5140 "Payroll and timekeeping clerks 43-3051"
5150 "Procurement clerks 43-3061"
5160 "Tellers 43-3071"
5165 "Financial clerks, all other 43-3099"
5200 "Brokerage clerks 43-4011"
5220 "Court, municipal, and license clerks 43-4031"
5230 "Credit authorizers, checkers, and clerks 43-4041"
5240 "Customer service representatives 43-4051"
5250 "Eligibility interviewers, government programs 43-4061"
5260 "File Clerks 43-4071"
5300 "Hotel, motel, and resort desk clerks 43-4081"
5310 "Interviewers, except eligibility and loan 43-4111"
5320 "Library assistants, clerical 43-4121"
5330 "Loan interviewers and clerks 43-4131"
5340 "New accounts clerks 43-4141"
5350 "Correspondence clerks and Order clerks 43-4XXX"
5360 "Human resources assistants, except payroll and timekeeping 43-4161"
5400 "Receptionists and information clerks 43-4171"
5410 "Reservation and transportation ticket agents and travel clerks 43-4181"
5420 "Information and record clerks, all other 43-4199"
5500 "Cargo and freight agents 43-5011"
5510 "Couriers and messengers 43-5021"
5520 "Dispatchers 43-5030"
5530 "Meter readers, utilities 43-5041"
5540 "Postal service clerks 43-5051"
5550 "Postal service mail carriers 43-5052"
5560 "Postal serv mail sorters, processors, & proc machine operators 43-5053"
5600 "Production, planning, and expediting clerks 43-5061"
5610 "Shipping, receiving, and traffic clerks 43-5071"
5620 "Stock clerks and order fillers 43-5081"
5630 "Weighers, measurers, checkers, and samplers, recordkeeping 43-5111"
5700 "Secretaries and administrative assistants 43-6010"
5800 "Computer operators 43-9011"
5810 "Data entry keyers 43-9021"
5820 "Word processors and typists 43-9022"
5840 "Insurance claims and policy processing clerks 43-9041"
5850 "Mail clerks and mail machine operators, except postal service 43-9051"
5860 "Office clerks, general 43-9061"
5900 "Office machine operators, except computer 43-9071"
5910 "Proofreaders and copy markers 43-9081"
5920 "Statistical assistants 43-9111"
5940 "Office and administrative support workers, including desktop publishers"
6005 "1st-line supervisors/managers farming, fishing, and forestry workers 45-1011"
6010 "Agricultural inspectors 45-2011"
6040 "Graders and sorters, agricultural products 45-2041"
6050 "Miscellaneous agricultural workers, incl animal breeders 45-20XX"
6100 "Fishers and related fishing workers 45-3011"
6120 "Forest and conservation workers 45-4011"
6130 "Logging workers 45-4020"
6200 "1st-line supervisors/managers construction & extraction workers 47-1011"
6210 "Boilermakers 47-2011"
6220 "Brickmasons, blockmasons, and stonemasons 47-2020"
6230 "Carpenters 47-2031"
6240 "Carpet, floor, and tile installers and finishers 47-2040"
6250 "Cement masons, concrete finishers, and terrazzo workers 47-2050"
6260 "Construction laborers 47-2061"
6300 "Paving, surfacing, and tamping equipment operators 47-2071"
6320 "Construction equipment operators, except Paving, surfacing, and tamping equip operators 47-207X"
6330 "Drywall installers, ceiling tile installers, and tapers 47-2080"
6355 "Electricians 47-2111"
6360 "Glaziers 47-2121"
6400 "Insulation workers 47-2130"
6420 "Painters, construction and maintenance and paperhangers 47-214X"
6440 "Pipelayers, plumbers, pipefitters, and steamfitters 47-2150"
6460 "Plasterers and stucco masons 47-2161"
6500 "Reinforcing iron and rebar workers 47-2171"
6515 "Roofers 47-2181"
6520 "Sheet metal workers 47-2211"
6530 "Structural iron and steel workers 47-2221"
6600 "Helpers, construction trades 47-3010"
6660 "Construction and building inspectors 47-4011"
6700 "Elevator installers and repairers 47-4021"
6710 "Fence erectors 47-4031"
6720 "Hazardous materials removal workers 47-4041"
6730 "Highway maintenance workers 47-4051"
6740 "Rail-track laying and maintenance equipment operators 47-4061"
6750 "Septic tank servicers and sewer pipe cleaners 47-4071"
6765 "Miscellaneous construction and related workers,incl photovoltaic installers"
6800 "Derrick, rotary drill, service unit operators, oil, gas, mining 47-5010"
6820 "Earth drillers, except oil and gas 47-5021"
6830 "Explosives workers, ordnance handling experts, and blasters 47-5031"
6840 "Mining machine operators 47-5040"
6920 "Roustabouts, oil and gas 47-5071"
6940 "Other extraction workers, incl roof bolters and helpers 47-50XX"
7000 "1st-line supervisors/managers mechanics, installers, repairers 49-1011"
7010 "Computer, automated teller, and office machine repairers 49-2011"
7020 "Radio and telecommunications equipment installers and repairers 49-2020"
7030 "Avionics technicians 49-2091"
7040 "Electric motor, power tool, and related repairers 49-2092"
7100 "Electrical and electronics repairers, industrial and utility 49-209X"
7110 "Electronic equipment installers and repairers, motor vehicles 49-2096"
7120 "Electronic home entertainment equipment installers and repairers 49-2097"
7130 "Security and fire alarm systems installers 49-2098"
7140 "Aircraft mechanics and service technicians 49-3011"
7150 "Automotive body and related repairers 49-3021"
7160 "Automotive glass installers and repairers 49-3022"
7200 "Automotive service technicians and mechanics 49-3023"
7210 "Bus and truck mechanics and diesel engine specialists 49-3031"
7220 "Heavy vehicle & mobile equipment service techs & mechanics 49-3040"
7240 "Small engine mechanics 49-3050"
7260 "Misc vehicle & mobile equipment mechanics, installers, repairers 49-3090"
7300 "Control and valve installers and repairers 49-9010"
7315 "Heating, air conditioning, refrigeration mechanics, installers 49-9021"
7320 "Home appliance repairers 49-9031"
7330 "Industrial and refractory machinery mechanics 49-904X"
7340 "Maintenance and repair workers, general 49-9071"
7350 "Maintenance workers, machinery 49-9043"
7360 "Millwrights 49-9044"
7410 "Electrical power-line installers and repairers 49-9051"
7420 "Telecommunications line installers and repairers 49-9052"
7430 "Precision instrument and equipment repairers 49-9060"
7510 "Coin, vending, and amusement machine servicers and repairers 49-9091"
7540 "Locksmiths and safe repairers 49-9094"
7550 "Manufactured building and mobile home installers 49-9095"
7560 "Riggers 49-9096"
7610 "Helpers--installation, maintenance, and repair workers 49-9098"
7630 "Other installation, maintenance, and repair workers, incl wind turbine service techs, commmercial drivers, and signal and train switch repairers 49-909X"
7700 "1st-line supervisors/managers of production & operating workers 51-1011"
7710 "Aircraft structure, surfaces, rigging, and systems assemblers 51-2011"
7720 "Electrical, electronics, and electromechanical assemblers 51-2020"
7730 "Engine and other machine assemblers 51-2031"
7740 "Structural metal fabricators and fitters 51-2041"
7750 "Miscellaneous assemblers and fabricators 51-2090"
7800 "Bakers 51-3011"
7810 "Butchers and other meat, poultry, and fish processing workers 51-3020"
7830 "Food, tobacco roasting, baking, drying machine operators, tenders 51-3091"
7840 "Food batchmakers 51-3092"
7850 "Food cooking machine operators and tenders 51-3093"
7855 "Food processing workers, all other 51-3099"
7900 "Computer control programmers and operators 51-4010"
7920 "Extruding, drawing machine operators & tenders, metal, plastic 51-4021"
7940 "Rolling machine setters, operators, tenders and forging maching setters, operators, and tenders, metal and plastic 51-402X"
7950 "Cutting, punching, and press machine setters, operators, and tenders, metal, plastic 51-4031"
8000 "Grinding, lapping, polishing, and buffing machine tool setters, operators, and tenders, metal & plastic 51-4033"
8010 "Lathe and turning machine tool setters, operators, and tenders, metal and plastic 51-4034"
8030 "Machinists 51-4041"
8040 "Metal furnace and kiln operators and tenders 51-4050"
8100 "Molders, molding machine operators, tenders, metal, plastic 51-4070"
8130 "Tool and die makers 51-4111"
8140 "Welding, soldering, and brazing workers 51-4120"
8200 "Plating and coating machine setters, operators, and tenders, metal and plastic 51-4193"
8210 "Tool grinders, filers, and sharpeners 51-4194"
8220 "Metalworkers and plastic workers, all other 51-4199"
8250 "Prepress technicians and workers 51-5111"
8255 "Printing press operators 51-5112"
8256 "Print binding and finishing workers 51-5113"
8300 "Laundry and dry-cleaning workers 51-6011"
8310 "Pressers, textile, garment, and related materials 51-6021"
8320 "Sewing machine operators 51-6031"
8330 "Shoe and leather workers and repairers 51-6041"
8350 "Tailors, dressmakers, and sewers 51-6050"
8400 "Textile cutting machine setters, operators, and tenders 51-6062"
8410 "Textile knitting & weaving machine setters, operators & tenders 51-6063"
8420 "Textile winding, twisting, drawing out machine setters, operators, tenders 51-6064"
8450 "Upholsterers 51-6093"
8460 "Misc Textile, apparel, and furnishings workers, except upholsterers 51-6099"
8500 "Cabinetmakers and bench carpenters 51-7011"
8510 "Furniture finishers 51-7021"
8530 "Sawing machine setters, operators, and tenders, wood 51-7041"
8540 "Woodworking machine setters, operators, tenders, except sawing 51-7042"
8550 "Miscellaneous Woodworkers, incl model makers and pattern makers 51-70XX"
8600 "Power plant operators, distributors, and dispatchers 51-8010"
8610 "Stationary engineers and boiler operators 51-8021"
8620 "Water and liquid waste treatment plant and system operators 51-8031"
8630 "Miscellaneous plant and system operators 51-8090"
8640 "Chemical processing machine setters, operators, and tenders 51-9010"
8650 "Crushing, grinding, polishing, mixing, and blending workers 51-9020"
8710 "Cutting workers 51-9030"
8720 "Extruding, forming, pressing, and compacting machine setters, operators, and tenders 51-9041"
8730 "Furnace, kiln, oven, drier, and kettle operators and tenders 51-9051"
8740 "Inspectors, testers, sorters, samplers, and weighers 51-9061"
8750 "Jewelers and precious stone and metal workers 51-9071"
8760 "Medical, dental, and ophthalmic laboratory technicians 51-9080"
8800 "Packaging and filling machine operators and tenders 51-9111"
8810 "Painting workers 51-9120"
8830 "Photographic process workers and processing machine operators 51-9151"
8850 "Cementing and gluing machine operators and tenders 51-9191"
8860 "Cleaning, washing, metal pickling equipment operators, tenders 51-9192"
8910 "Etchers and engravers 51-9194"
8920 "Molders, shapers, and casters, except metal and plastic 51-9195"
8930 "Paper goods machine setters, operators, and tenders 51-9196"
8940 "Tire builders 51-9197"
8950 "Helpers--production workers 51-9198"
8965 "Production workers, incl semiconductor processors and cooling and freezing equipment operators 51-91XX"
9000 "Supervisors, transportation and material moving workers 53-1000"
9030 "Aircraft pilots and flight engineers 53-2010"
9040 "Air traffic controllers and airfield operations specialists 53-2020"
9050 "Flight Attendents 53-2031"
9110 "Ambulance drivers, attendants, exc. emergency medical techs 53-3011"
9120 "Bus drivers 53-3020"
9130 "Driver/sales workers and truck drivers 53-3030"
9140 "Taxi drivers and chauffeurs 53-3041"
9150 "Motor vehicle operators, all other 53-3099"
9200 "Locomotive engineers and operators 53-4010"
9240 "Railroad brake, signal, switch opertors, conductors and yardmasters 53-40XX"
9260 "Subway, streetcar, and other rail transportation workers 53-30XX"
9300 "Sailors and marine oilers and ship engineers 53-50XX"
9310 "Ship and boat captains and operators 53-5020"
9350 "Parking lot attendants 53-6021"
9360 "Service station attendants 53-6031"
9410 "Transportation inspectors 53-6051"
9415 "Transportation attendants, except flight attendants 53-6061"
9420 "Other transportation workers, incl bridge and lock tenders 53-60XX"
9510 "Crane and tower operators 53-7021"
9520 "Dredge, excavating, and loading machine operators 53-7030"
9560 "Hoist and winch operators, and conveyor operators and tenders 53-70XX"
9600 "Industrial truck and tractor operators 53-7051"
9610 "Cleaners of vehicles and equipment 53-7061"
9620 "Laborers and freight, stock, and material movers, hand 53-7062"
9630 "Machine feeders and offbearers 53-7063"
9640 "Packers and packagers, hand 53-7064"
9650 "Pumping station operators 53-7070"
9720 "Refuse and recyclable material collectors 53-7081"
9750 "Material moving workers, incl mine shuttle operators and tank car, truck, and ship loaders 53-71XX"
9840 "Armed Forces"
9970 "Problem referral [recoded to missing]"
9990 "Not reported, not codable [recoded to missing]"
;
#delimit cr
lab val occ12 occ12


	/* 2013-2020 uses May 2012 codes */

if 2013<=`year'& `year'<=2020 {

capture rename ptio1ocd peio1ocd
replace occ12=peio1ocd
replace occ12=. if occ12<=0
replace occ12=. if occ12==9970 | occ12==9990
}



lab var occ70 "3-digit occupation"
notes occ70: Based on 1970 SOC codes
notes occ70: Available 1979-1982 only
notes occ70: Not compatible with occ80, occ03, occ11, occ12
notes occ70: CPS: TK

lab var occ80 "3-digit occupation"
notes occ80: Based on 1980 SOC codes
notes occ80: Available 1983-2002 only
notes occ80: Not compatible with occ70, occ03, occ11, occ12
notes occ80: CPS: a-occ, peio1ocd

lab var occ03 "3-digit occupation"
notes occ03: Based on 2000 SOC codes
notes occ03: Available 2003-2010
notes occ03: Not compatible with occ70, occ80, occ11, occ12
notes occ03: CPS: peio1ocd

lab var occ11 "3-digit occupation"
notes occ11: Based on 2010 SOC codes
notes occ11: Available 2011- April 2012
notes occ11: Not compatible with occ70, occ80, occ03, occ12
notes occ11: CPS: peio1ocd

lab var occ12 "3-digit occupation"
notes occ12: Based on 2010 SOC codes
notes occ12: Available May 2012-on
notes occ12: Not compatible with occ70, occ80, occ03, occ11
notes occ12: CPS: peio1ocd

/* Major Occupation Recode - JOB 1 */

gen byte occ_m03=.

if 2003<=`year' & `year'<=2020 {
replace occ_m03=prmjocc1
replace occ_m03=. if prmjocc1<1
replace occ_m03=. if prmjocc1>11
}

#delimit ;
lab def occ_m03
1 "Management, business, and financial occupations"  
2 "Professional and related occupations"                       
3 "Service occupations"                         
4 "Sales and related occupations"                    
5 "Office and administrative support occupations"    
6 "Farming, fishing, and forestry occupations"            
7 "Construction and extraction occupations"                    
8 "Installation, maintenance, and repair occupations"     
9 "Production occupations"                 
10 "Transportation and material moving occupations"   
11 "Armed Forces"
;
#delimit cr
lab val occ_m03 occ_m03


lab var occ_m03 "Major Occupation Recode"
notes occ_m03: Available 2003-present
notes occ_m03: CPS: prmjocc1


	/* Manager */
	
if 1979<=`year' & `year'<=1982 {
gen byte manag83=.
gen byte manag03=.
}
if 1983<=`year' & `year'<=2002 {
gen byte manag83=0 if docc80~=.
replace manag83=1 if 1<=docc80 & docc80<=3
gen manag03=.
}
if 2003<=`year' & `year'<=2020 {
gen byte manag03=0 if docc03~=.
replace manag03=1 if docc03==1
gen byte manag83=.
}

lab var manag83 "Manager"
notes manag83: Available 1983-2002
notes manag83: Not comparable with manag03
notes manag83: CPS: derived from a-dtocc, prdtocc1

lab var manag03 "Manager"
notes manag03: Available 2003-
notes manag03: Not comparable with manag83
notes manag03: CPS: derived from prdtocc1

/* 
Copyright 2020 CEPR and John Schmitt

This file is part of the cepr_org_master.do program. This file and all
programs referenced in it are free software. You can redistribute the
program or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
USA.
*/
